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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am


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