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
 

 

To write next line of a record conditionally

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
vpr_118
Warnings : 1

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Wed Jun 25, 2008 8:17 am    Post subject: To write next line of a record conditionally
Reply with quote

Hi my query is almost same to the query given in the below link.

http://ibmmainframes.com/viewtopic.php?t=29858&highlight=searching+a+string

Only difference is string 's' can be anywhere. Its can be present in any position.

Also i am using a PDS as input. Will it search all the members one by one and finally give the impacted lines with corresponding member name (similar to isrsupc)

Thanks
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Jun 25, 2008 9:56 am    Post subject:
Reply with quote

Hi vpr,

you need to change the code from

Code:
(89,8,ZD,EQ,+2,AND,97,1,CH,EQ,C'Y',AND,1,1,CH,EQ,C'S')),


to
Code:
(89,8,ZD,EQ,+2,AND,97,1,CH,EQ,C'Y',AND,1,80,SS,EQ,C'S')),


You cannot read a PDS without specifying each member on a DD statement and it will not list the member name.


Gerry
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 2 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Write R1 and R2 to OP1 and R1 to OP2 bhaskar_kanteti DFSORT/ICETOOL 10 Fri Mar 03, 2017 11:18 am


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