View previous topic :: View next topic
|
Author |
Message |
dirceu.alves
New User
Joined: 03 Aug 2005 Posts: 17
|
|
|
|
Hello everyone,
This looks to be very simple, but I couldn't figure out how to do:
I have one input file that has 80 bytes and an output file with 85 bytes.
I need to copy the input file to the output leaving blank the first 5 bytes. In that case the data from the input file would be filled starting on the 6th byte of the output file...
Thanks ! |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Here's a DFSORT job that will do what you asked for:
Code: |
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=... input file (FB/80)
//SORTOUT DD DSN=... output file (FB/85)
//SYSIN DD *
OPTION COPY
INREC BUILD=(6:1,80)
/*
|
|
|
Back to top |
|
|
|