View previous topic :: View next topic
|
Author |
Message |
stunnerguy
New User
Joined: 17 Jun 2009 Posts: 1 Location: pune
|
|
|
|
Hi,
I have a specific requirement to pass a current date inside a VSAM cluster for IDCAMS.below is my jcl:
Code: |
//B905007 EXEC PGM=IDCAMS,
// REGION=4000K
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//*
//ELCODEIN DD DSN=PV01.B903000.ELCODE.NONPROD,
// DISP=SHR
//SYSIN DD*
DEFINE CL (NAME(TOLLNA.T.B903000.ELCODE.NONPROD.C&DATE01.01) -
KEYS(12,0) -
VOLUMES(*) -
RECSZ(80,80) -
FSPC(0,25) -
CYL(27,1) -
NOREUSE -
BUFFERSPACE(13000) -
REPLICATE -
SPEED -
OWNER('APPL-MS') -
IMBED) -
DATA (NAME(TOLLNA.T.B903000.ELCODE.NONPROD.C&DATE01.01.DAT) -
OWNER('APPL-MS')) -
IX (NAME(TOLLNA.T.B903000.ELCODE.NONPROD.C&DATE01.01.IND) -
OWNER('APPL-MS')) |
I want to pass the DATE01 parameter from JCl....cureently i am getting an error as DATASET SYNTAX INVALID
Can anyone suggest me how i can resolve this problem? Please help. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please search the forum for similar topics - has been discussed to within an inch of its life. |
|
Back to top |
|
|
r2k1984
New User
Joined: 21 Jun 2005 Posts: 69 Location: chennai
|
|
|
|
In the previous step write the file name with date parameter in sort and use the file in the next step..
hope it will help you |
|
Back to top |
|
|
|