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 How to include a particular field val... sakrat DFSORT/ICETOOL 8 Fri Apr 06, 2018 8:27 pm
No new posts Sort numeric fields with trailing spaces sancraig16 SYNCSORT 7 Tue Apr 03, 2018 1:21 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

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