File-Aid XREF copybook Include in Cobol program



Compuware's data management products: File-AID for IMS, File-AID/MVS, File-AID for DB2 and DBA-XPERT for DB2

File-Aid XREF copybook Include in Cobol program

Postby nlarsensmith » Wed Apr 06, 2011 3:41 am

If the records of a file contains single layout then one would use Cobol "COPY" verb to include the copybook in Cobol. I would like to know how we would include the copybook of a file which contains multiple layouts created as XREF member in File-Aid?

Thanks in advance.
nlarsensmith
 
Posts: 1
Joined: Sat Oct 09, 2010 10:44 am
Has thanked: 0 time
Been thanked: 0 time

Re: File-Aid XREF copybook Include in Cobol program

Postby BillyBoyo » Wed Apr 06, 2011 12:41 pm

COPY is not actually a cobol verb. It is a compiler-directive. It tells the compiler to do something.

I don't know of a particular limit to the contents of a copybook. Put it in a program. Compile it. Check for error messages.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to File-AID

 


  • Related topics
    Replies
    Views
    Last post