View previous topic :: View next topic
|
Author |
Message |
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
Have member in pds which is used as sysin to another jcl. Now before submitting that jcl through
clist i would like edit the below lines through the below values.
SET &JTM1 = '&STR(&STR(&JYER)&STR(&JDAY))'
SET &JTM2 = '&STR(&STR(&JYER)&STR(&JMON)&STR(&JDAT))'
SET &JTM3 = '&STR(&STR(&JYER)&STR(&JTXT)&STR(&JDAT))'
the &JTM1 - 3 fields will populate the below values in the following manner
'2008002'
'20080102'
'2008JA02'
now i want to change populate these values in the below bolded lines
Y2KDDD DC CL8'2008001 DATE IN FMT1 - TEST Y2K
Y2KMMDD DC CL8'20080101' DATE IN FMT2 - TEST Y2K
Y2KXXDD DC CL8'2008JA01' DATE IN FMT3 - TEST Y2K
please give me sample code if possible |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
please give me sample code if possible |
All tested code supplied upon receipt of payment. Current day rate 700 euro.
So you have a pds member that you want to update via your CLIST.
Look at ISPF file tailoring services to take a base skeleton and create / update the pds member that you need. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Can you isolate those three lines in their own member by concatenating the SYSIN? If so, generate a new member each time in your CLIST with the full records.
Check the TSO CLIST manual section on writing files. |
|
Back to top |
|
|
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
have searched in fourm and manauls, but haven't found any clues. could you please give me the sample code
thanks alot in advance |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Did you try THIS manual ? |
|
Back to top |
|
|
|