View previous topic :: View next topic
|
Author |
Message |
viji_rags
New User
Joined: 04 Jun 2010 Posts: 24 Location: chennai
|
|
|
|
Please explain the below code
========================
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,0400,C'00270') |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
To get you started: This
tells to copy the input records to output. The input data set is copied to the output data set without
sorting or merging.
Code: |
OUTREC FIELDS=(1:1,0400,C'00270') |
This says, when you copy from input to OUTput RECord - in output first 400-bytes must be copied from input as it is, starting from position 1 in o/p and... okay, rest I leave for you to investigate in. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
viji_rags,
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:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000080
C'00270' inserts a character constant of 00270 after the 400 bytes. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
C'00270' inserts a character constant of 00270 after the 400 bytes. |
Thanks for kind gesture, Frank... |
|
Back to top |
|
|
|