Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Pass value from Easytrieve to next step in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
mani_parashar

New User


Joined: 23 Jan 2008
Posts: 2
Location: Noida

PostPosted: Tue Feb 05, 2008 12:10 pm    Post subject: Pass value from Easytrieve to next step in JCL
Reply with quote

There is a TWO step job:

STEP 1

Its a EZT code where i there are three files in picture:
a) Input read file
b) Another input read file
c) Output file (new,Catlg,Del) with LRECL=133

I this step i m reading file B,on the basis of fetched record(from B) reading file A and finally adding all he records in file c.

In file B, first record mentions a group (3 alphanumeric) and rest are the records of 133 length which we will be writing in file C.File C wont be having that 3 byte alphanumeric group number only 133 byte records.

Step 2.

The group variable which we read in first step is to be used as a qualifier in allocating a file
Ex: M.GROUP.REPORT
And than copy all the data in this file from file C.

Or

Is there a way in easytrive where in we can allocate a file with the read group id qualifier and than add records to it.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Feb 05, 2008 1:07 pm    Post subject:
Reply with quote

Mani,

This was discussed many times earlier, search the forum.
Back to top
View user's profile Send private message
mani_parashar

New User


Joined: 23 Jan 2008
Posts: 2
Location: Noida

PostPosted: Tue Feb 05, 2008 1:45 pm    Post subject: Reply to: Pass value from Easytrieve to next step in JCL
Reply with quote

Thanks Murali

But I posted this query after doing a thorough search in the forum. It might be the case that I am not using correct search key words.
But still I m unable to track answer for my query in the forum. If u have any of the query resolution link handy, please fwd it across.

Thanks in Advance
Mani
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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us