Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
ICETOOl for Common Records?

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

New User

Joined: 26 Apr 2005
Posts: 46
Location: LA

PostPosted: Sat Dec 10, 2005 3:37 pm    Post subject: ICETOOl for Common Records?
Reply with quote

I have:
File A: seq, len=10, no of records =100
File B:VB, Max len=900,pos 51-60 same field as pos 1-10 in file A,no of records = 10000

I need :
File C: VB , Max length = 900, (same as File B),no of records= 100 (these records will have the same data in pos 51-60 as the records in File A)

Help Anyone!! I was told that I could do it by doing a SPLICE!
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 12, 2005 9:34 pm    Post subject:
Reply with quote

Here's a DFSORT/ICETOOL job that will do what I think you asked for. I'm assuming that you don't have any duplicates in input file1 and you don't have any duplicates in input file2. I'm also assuming that when you say position 51-60 in the VB file, you're not counting the RDW in positions 1-4 and that the field is really at positions 55-64. If you are counting the RDW, let me know and I'll tell you what to change.


//IN1  DD DSN=...  input file1 (FB/10)
//     DD DSN=...  input file2 (VB/900)
//OUT DD DSN=...   output file (VB/900)

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

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 MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 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 Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm

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