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

DFSORT card intead of Super C


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
abraralum

New User


Joined: 19 Dec 2010
Posts: 42
Location: Bangalore

PostPosted: Thu Sep 13, 2012 12:53 pm
Reply with quote

Hi,

I have corrected the 6 characters of each file at position 1904 and 1910 of a FB file. Both files of same record length as 1950 and having same no.of records.This is based on conditin if space is found in any of 6 characters of these two columns. As a result 10 records are found with space and replaced with a value. The I/P file is having some 1 million records.

Now, I will have to compare my file- before correction and new file -with correction and show only the records which were having spaces are corrected.

I tried to do this with Super C, but want output in a different file. Please advice..
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Sep 13, 2012 1:11 pm
Reply with quote

JOINKEYS with whole record as key (if data is in ascending order) or appended sequence number as key,

With former, just use the match marker ?

With the latter, arrange a comparison of the two records stored in a REFORMAT record.
Back to top
View user's profile Send private message
abraralum

New User


Joined: 19 Dec 2010
Posts: 42
Location: Bangalore

PostPosted: Thu Sep 13, 2012 1:23 pm
Reply with quote

Bill,

Data is sorted, I am not clear about your question "With former, just use the match marker ? "
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 13, 2012 1:30 pm
Reply with quote

topic locked as a continuation of

www.ibmmainframes.com/viewtopic.php?t=59438&highlight=

the TS looks like a person who wear pants with belt and suspenders
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Sep 13, 2012 2:11 pm
Reply with quote

This is now a match of the data once fixed.

Simpler as a new topic, I think.

Code:
  JOIN UNPAIRED,F2,ONLY


Is even simpler, assuming F2 is the "new" file, and with the key for the JOINKEYS being the entire record.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
Search our Forums:

Back to Top