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

Output only three records into different PS Files


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
k.nitin

New User


Joined: 02 Apr 2007
Posts: 4
Location: chennai

PostPosted: Tue May 22, 2007 5:54 pm
Reply with quote

Hi everyone,

There is an input file which contain some input records ,deleted records

and some pair of input and deleted records,I want to write the three into different ps files

example of input records:


inserts:
I - 00037000325697D10603000434040PRINGLES PAPRIKA 200G

I - 00037000325703D10603000438590PRINGLES CHS&ONION 200G


paired recoeds
I - 00038785010532W10603000007661AUSSIE MEGA INS COND 250
D - 00038785010532W10603000007661AUSSIE INS.DLY.COND.250M
I - 00038785010532W12132000007661AUSSIE MEGA INS COND 250
D - 00038785010532W12132000007661AUSSIE INS.DLY.COND.250M

deletes

D - 03171310006352W10712000411063LE PIAT D'OR WHITE 75CL X12
D - 03171310006352W52877000411063LE PIAT D'OR WHITE 75CL X12
D - 03171310006352W53274000411063LE PIAT D'OR WHITE 75CL X12


can any one of u help me out in this it would be a great help if u do so

thanking you,
Nitin
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon May 28, 2007 1:12 am
Reply with quote

It's not clear what you want to do. You show I records as both insert records and paired records, and D records as both paired records and delete records, but you don't explain the criteria you're using to decide which they are. You need to explain the rules for going from input to output.

Also, give the RECFM and LRECL of your input file.
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top