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 JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm


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