Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts SORT requirement sjiraga COBOL Programming 6 Thu Mar 09, 2017 9:11 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts SORT to append Month and YEAR in MMYY... tisamf DFSORT/ICETOOL 1 Wed Mar 08, 2017 4:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us