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
 
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
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
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

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