|
View previous topic :: View next topic
|
| Author |
Message |
buzzvinodh
New User
Joined: 27 Aug 2007 Posts: 2 Location: Chennai
|
|
|
|
Hi,
I want to submit a member in a pds through JCL and I wanted to pass the member name and PDS name as symbolic parameters but the job is always failing and it is resolving only the symbolics in brackets.
Can anyone please help me.
Here is it;
LN=PDS.TEST
MEM=MEMBER
SUB '&LN(&MEM)'
it should be resolved as
SUB 'PDS.TEST(MEMBER)'
but it is resolving only the member and failing like below:
SUB '&LN(MEMBER)' |
|
| Back to top |
|
 |
gauravguglani
New User
Joined: 07 Jun 2007 Posts: 1 Location: Mumbai
|
|
|
|
Hi,
I think the way you given parameter is incorrect,
Can you please try SUB '&LN.(&MEM)'
Thanks, |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Could you post the actual JCL, because this did work for me:
| Code: |
//MYJOB JOB ...
// SET LN=PDS.TEST,MEM=MEMBER
//*
//STEP0001 EXEC PGM=IKJEFT01,PARM='SUB ''&LN(&MEM)'''
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
//*
|
JESJCL Output
| Code: |
2 // SET LN=PDS.TEST,MEM=MEMBER
//*
3 //STEP0001 EXEC PGM=IKJEFT01,PARM='SUB ''&LN(&MEM)'''
IEFC653I SUBSTITUTION JCL - PGM=IKJEFT01,PARM='SUB ''PDS.TEST(MEMBER)'''
4 //SYSTSPRT DD SYSOUT=*
5 //SYSTSIN DD DUMMY
//*
|
|
|
| Back to top |
|
 |
buzzvinodh
New User
Joined: 27 Aug 2007 Posts: 2 Location: Chennai
|
|
|
|
Thanks Gaurav,
SUB '&LN.(&MEM)' worked for me  |
|
| Back to top |
|
 |
|
|