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
nlarsensmith
Posts: 1
Joined: Sat Oct 09, 2010 10:44 am
Skillset: jcl
Referer: texsas

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.

BillyBoyo
Global moderator
Posts: 3805
Joined: Tue Jan 25, 2011 12:02 am
Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
Referer: Google

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.


  • Similar Topics
    Replies
    Views
    Last post