Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Sort card to compare two fields and space out one field.

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

New User


Joined: 13 Nov 2005
Posts: 2
Location: dubai

PostPosted: Mon Dec 17, 2007 1:19 pm    Post subject: Sort card to compare two fields and space out one field.
Reply with quote

Hi,

I have two files (ps,fb) F1 and F2.
I need to compare field-2 of F1 against field-2 of F2 and space out field-2 of F2 if both fields are equal (both fields are pic x(50)). I have to implement this using jcl sort or icetool. Plz help.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


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

PostPosted: Mon Dec 17, 2007 9:28 pm    Post subject:
Reply with quote

I need more information to show you how to do this with DFSORT's ICETOOL.

What is the RECFM and LRECL of each input file?

What is the starting position, length and format of each relevant field?

Can input file1 have duplicates within it (for example, can you have two records in file1 with abc in field2?

Can input file2 have duplicates within it (for example, can you have two records in file2 with abcd in field2?

Please show an example of the records in each input file (relevant fields only) and what you expect for output.
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 Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us