View previous topic :: View next topic
|
Author |
Message |
wilsonajames
New User
Joined: 26 Mar 2009 Posts: 3 Location: chennai
|
|
|
|
Dears,
Can anyone tell me how to pass the parm value to CLIST pgm thru JCL?
Thanks
Wilson James |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Exactly the same way that you would do it when passing values from the EXEC statement, only you code the parm values in the PARM statement of the EXEC card.
Show us what you have coded and the errors encountered. |
|
Back to top |
|
|
wilsonajames
New User
Joined: 26 Mar 2009 Posts: 3 Location: chennai
|
|
|
|
Hi,
Thanks for the reply.
Am passing the value like below,but not sure how to receive this value in CLIST PROC
//FTP1 EXEC PGM=KEQEFT01,REGION=1000M,DYNAMNBR=50,PARM='XXXX' |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
A typical job would be setup like:
Code: |
//FTP1 EXEC PGM=IKJEFT01,DYNAMNBR=50,PARM='CLIST# 1 2'
//SYSPROC DD DSN=MY.SYSPROC,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
//*
|
where the CLIST CLIST# contains an appropriate PROC statement:
Code: |
PROC 2 VAR1 VAR2
WRITE &VAR1 &VAR2
...
END
|
As described in the z/OS V1R11.0 TSO/E CLISTs manual. |
|
Back to top |
|
|
wilsonajames
New User
Joined: 26 Mar 2009 Posts: 3 Location: chennai
|
|
|
|
Thanks Much Mr.kevin.. its working fine now |
|
Back to top |
|
|
|