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

Pass value from Easytrieve to next step in JCL


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 1436
Location: Bangalore,India

PostPosted: Tue Feb 05, 2008 1:07 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top