IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to add a copy book in a JCL for easytrive


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkatatcts

New User


Joined: 16 Mar 2009
Posts: 55
Location: India

PostPosted: Mon May 24, 2010 5:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon May 24, 2010 8:31 pm
Reply with quote

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
View user's profile Send private message
venkatatcts

New User


Joined: 16 Mar 2009
Posts: 55
Location: India

PostPosted: Mon May 24, 2010 8:45 pm
Reply with quote

Thanks dick
Back to top
View user's profile Send private message
venkatatcts

New User


Joined: 16 Mar 2009
Posts: 55
Location: India

PostPosted: Mon May 24, 2010 8:48 pm
Reply with quote

shall we give the easytrieve layout in a PDS?

and use copy in the program
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon May 24, 2010 9:26 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top