View previous topic :: View next topic |
Author |
Message |
Sterling Price Beginner
Joined: 30 Aug 2004 Posts: 19 Topics: 8
|
Posted: Thu Jul 28, 2005 10:45 pm Post subject: ICETOOL: a splice question |
|
|
I'm having a splice problem involving duplicates. I have inserted "protection" records per previous posts I've read to preserve the duplicates, but can't seem to get what I need.
Here is the JCL (prior to adding the protection dataset) and the layouts of the two datasets being spliced. They are both LRECL=80, RECFM=FB:
[code:1:125d715297]//RATEGROS DD DSN=*.GROSSUM,VOL=REF=*.GROSSUM,DISP=(OLD,PASS)
// DD DSN=*.TMPRATES,VOL=REF=*.TMPRATES,DISP=(OLD,PASS)
'GROSSUM':
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
0982WMW22MN.... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Fri Jul 29, 2005 6:27 am Post subject: |
|
|
Sterling price,
If I understand correctly , all you wanted to do is to overlay the contents of tmprates on to the grossum.
I assumed that your input files are both 80 bytes and of FB recfm.
try this.
[code:1:6e6de5ef92]
//STEP0100 EXEC PGM=ICETOOL
//DFSMSG DD SYSOUT=*
//TOOLMSG DD SYSOUT=*
//GROSSUM DD *
0982WMW22MN....ΔΈ054301 JUNE
0982WR 22MN.....)054301 JUNE
//TMPRATES DD *
0982 0543 SUT . _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Sterling Price Beginner
Joined: 30 Aug 2004 Posts: 19 Topics: 8
|
Posted: Fri Jul 29, 2005 9:35 am Post subject: |
|
|
Yes, that does exactly what I need. Thank you. I guess I was trying to make it too complicated. |
|
Back to top |
|
|
|
|