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
 

 

Populating Symbolic Parameters From a File

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Vinodc

New User


Joined: 01 Dec 2005
Posts: 33
Location: Prague

PostPosted: Wed Apr 19, 2006 4:16 am    Post subject: Populating Symbolic Parameters From a File
Reply with quote

Hi,

I have a simple requirement for creating a job which will -

- Read a sequential file,
- Extract a particular value from the 3rd record.
- Assign that value to a symbolic parameter which is used in a proc in next step.

I know how to code first two steps, but am not quite sure about third. Is there any way to assign a value to symbolic parameter used in catalogued procedure by reading a sequential file.

I tried referring manuals but could see only two way - SET and assigning in EXEC stmt for assigning values to symbolic parameters. So I am not very optimistic that my problem will have a solution, but you never know, there are many experts in this forum.

Any sort of help will be appreciated, Thanks in advance.

Vinod Chawda
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Apr 19, 2006 5:00 am    Post subject: Re: Populating Symbolic Parameters From a File
Reply with quote

Quote:

Is there any way to assign a value to symbolic parameter used in catalogued procedure by reading a sequential file?


Not within the same job. Any symbolics must be resolved by the job BEFORE the job can be submitted for execution.

You'll have to pass the symbolic value to a subsequent job, or pass it by some other means.
Back to top
View user's profile Send private message
Vinodc

New User


Joined: 01 Dec 2005
Posts: 33
Location: Prague

PostPosted: Wed Apr 19, 2006 1:26 pm    Post subject: Re: Populating Symbolic Parameters From a File
Reply with quote

Quote:
Not within the same job. Any symbolics must be resolved by the job BEFORE the job can be submitted for execution.

You'll have to pass the symbolic value to a subsequent job, or pass it by some other means.


Hi SuperK,

I can create a new job to add third step to it and make it successor of the first, so no issues in it. Can you please explain me how to pass this value to the new job?

Thank you so much.

Vinod
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Apr 19, 2006 3:39 pm    Post subject: Re: Populating Symbolic Parameters From a File
Reply with quote

Use a combination of the INCLUDE and SET statements.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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