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

How to pass a symbolic parameter to a SYSIN card DD file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ravikumar15

New User


Joined: 27 Mar 2006
Posts: 68

PostPosted: Wed Nov 08, 2006 4:13 pm
Reply with quote

Hi,

How to pass a symbolic parameter to a SYSIN card DD file

like

//SYSIN DD DSN=ABC.XYZ,DISP=SHR

ABC.XYZ contains

PQRS.MNOP.A&xxxx

Where xxxx is a symbolic parameter, which value changes for every run. How to pass value to xxxx in the SYSIN dataset ABC.XYZ.
Back to top
View user's profile Send private message
prashanth1

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Wed Nov 08, 2006 4:35 pm
Reply with quote

Ravi,

What ever you given that should be in the proc ( cataloged procedure).

Let us assume that one as a PROCA and there is a JCLA that is used to run the PROCA.

//JCLA job -----

//step1 exec proc=PROCA, A=XYZ ( A is specified in the PROCA)


this is the way u need to override the symbolic paramers.


Pls correct Me , If I Wrong icon_smile.gif
Back to top
View user's profile Send private message
rini

New User


Joined: 16 May 2006
Posts: 6

PostPosted: Wed Nov 08, 2006 4:45 pm
Reply with quote

not necessary that we should have a proc and jcl. we can give SET parameter.

Correct me if i m wrong icon_smile.gif
-------
rini
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Nov 08, 2006 4:45 pm
Reply with quote

ravikumar15 wrote:
How to pass value to xxxx in the SYSIN dataset ABC.XYZ.


You use a program to update the member as needed.
Back to top
View user's profile Send private message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Thu Nov 09, 2006 9:44 am
Reply with quote

Hi,

Quote:

ABC.XYZ contains

PQRS.MNOP.A&xxxx


You mean Dataset ABC.XYZ will contain "PQS.MNOP.A&xxxx" record?
In this record you want to override "xxxx" with current value?

If this is the only record in the Dataset then why cant you use "PQS.MNOP.A&xxxx" directly in SYSIN.

Please clarify?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
Search our Forums:


Back to Top