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

To write next line of a record conditionally


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
Reply with quote

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

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: 1702
Location: Australia

PostPosted: Wed Jun 25, 2008 9:56 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top