My Oracle Support Banner

Tuxedo: Limitation of cname in viewfile; Maximum Length of cname with viewsc32 (Doc ID 775706.1)

Last updated on OCTOBER 23, 2023

Applies to:

Oracle Tuxedo - Version 8.1 and later
Information in this document applies to any platform.
Information in this document applies to any platform


Goal

DESCRIPTION:
When you execute viewc32 viewfile, the cname specified in the viewfile has a maximum limitation of 33 chars.

NOTE:  The attribute values used in this article represent fictitious sample names that are made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.
Example
viewfile- test.tvf

As you can see, the cname has been truncated.

According to our documentation of the viewfile at http://download.oracle.com/docs/cd/E12531_01/tuxedo100/fml/fml04.html for cname 

cname
cname is the identifier for the structure member, and should be a valid C identifier name, since it is the name of a C structure member.  Internally, 
the cname is truncated to 30 characters, so cnames must be unique within the first 30 characters. Underscores are mapped automatically to dashes in the 
COBOL COPY file.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.