View previous topic :: View next topic
|
Author |
Message |
venkatatcts
New User
Joined: 16 Mar 2009 Posts: 55 Location: India
|
|
|
|
Hi,
I have written a Easytrieve program to generate a report where the input file is a sequential file.. and the copy book i have it in a PDS..
Please let me know how to add the copy book PDS in the JCL and also the same in the Eaytrieve program
Thanks,
Venkatraman B |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Easytrieve cannot directly use cobol copybooks as "input" to an Easytrieve execution (if this is the question).
There is CBLCNVRT which will create an Easytrieve layout from a cobol definition. It is free and comes with the Easytrieve product.
Ask your local support where it is on your system (this is site specific).
There are also several topics in the forum about CBLCNVRT. |
|
Back to top |
|
|
venkatatcts
New User
Joined: 16 Mar 2009 Posts: 55 Location: India
|
|
|
|
Thanks dick |
|
Back to top |
|
|
venkatatcts
New User
Joined: 16 Mar 2009 Posts: 55 Location: India
|
|
|
|
shall we give the easytrieve layout in a PDS?
and use copy in the program |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Typically, Easytrieve layouts are in a pds and are concatenated before the actual code of an execution. Like:
Code: |
//SYSIN DD *
FILE INFILE
// DD DSN=MS.EZTLIB.Y2K(MYFILE),DISP=SHR
// DD *
*
FILE ALLOUT VB(19401 32760)
STUFF 1 1 A
*
LINE-CNT W 2 N 0 VALUE 0.
*
JOB INPUT INFILE.
.
.
etc |
The Easytrieve layouts on this system do not include the FILE statement so the FILEname/DDname are created by the developer. |
|
Back to top |
|
|
|