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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am

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