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

How to Edit set of lines of a member in pds using clist


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Fri Oct 17, 2008 12:49 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Oct 17, 2008 1:45 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Oct 17, 2008 7:22 pm
Reply with quote

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
View user's profile Send private message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Mon Oct 20, 2008 3:08 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Oct 20, 2008 3:12 pm
Reply with quote

Did you try THIS manual ?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
Search our Forums:

Back to Top