View previous topic :: View next topic
|
Author |
Message |
dilmohan
New User
Joined: 28 Feb 2006 Posts: 6
|
|
|
|
Can any one tell me the meaning of third parameter i.e. 30
Dil |
|
Back to top |
|
|
Kodisala
New User
Joined: 13 Apr 2005 Posts: 5 Location: Hyderabad
|
|
|
|
If I am not wrong... it should be OUTREC(1:2,30)... Then it says 30 characters of input dataset record beginning from 2 nd character should be copied to output dataset record starting with position 1. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
This syntax is incorrect. Presuming this is part of an OUTFIL statement, OUTREC( should be OUTREC=(. And 1,2,30 is not valid at all. 30 would have to be followed by a length to make it valid, e,g (1,2,30,5). (1:2,30) would be valid as Kodishala explains.
Go back to wherever or whoever you got this parameter from and look again. |
|
Back to top |
|
|
dilmohan
New User
Joined: 28 Feb 2006 Posts: 6
|
|
|
|
HI
I checked it again ..its OUTREC FIELDS=(1,4,30) and its there in production. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
That makes more sense. That's a valid OUTREC statement for a VB input set. It creates output records with the RDW (1,4) and the bytes from input position 30 to the end of the record.
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:
Use [URL] BBCode for External Links |
|
Back to top |
|
|
dilmohan
New User
Joined: 28 Feb 2006 Posts: 6
|
|
|
|
Hi Yaeger
I wolud really appreciate your efforts to solve my problem.
Otherthan that can you tell me wat is RDW ?
i checked with manuals but nothing helped out.
I got this much that its something related to VB file |
|
Back to top |
|
|
Jerry
New User
Joined: 16 Sep 2005 Posts: 42
|
|
|
|
Hi Dilmohan,
RDW is Record Word Descriptor, which is used to give details regarding record length in a VB file.
Correct me if I am wrong.
Regards,
Jerry. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
The RDW is the Record Descriptor Word. It is the first 4 bytes in VB records. The first two bytes gives the length of the record in binary (e.g. a 50 byte record has X'0032' in the first two bytes). The second two bytes are X'0000' for a VB file. |
|
Back to top |
|
|
Brian's_song
New User
Joined: 27 Dec 2005 Posts: 21
|
|
|
|
Thank you very much , Frank!! |
|
Back to top |
|
|
|