Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to add a copy book in a JCL for easytrive

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How to add a copy book in a JCL for easytrive
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

Site Director


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

PostPosted: Mon May 24, 2010 8:31 pm    Post subject:
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    Post subject: Reply to: How to add a copy book in a JCL for easytrive
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    Post subject: Reply to: How to add a copy book in a JCL for easytrive
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

Site Director


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

PostPosted: Mon May 24, 2010 9:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Easytrive Redefine vidyaa CA Products 4 Mon Jun 19, 2017 6:01 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us