Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: How to Edit set of lines of a member in pds using clist
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: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 17, 2008 1:45 pm    Post subject:
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    Post subject:
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    Post subject: sample code
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: 8593
Location: Back in jolly old England

PostPosted: Mon Oct 20, 2008 3:12 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us