View previous topic :: View next topic
|
Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
For record format as variable block [VB], first 4 byte is used to store the actual record length.
Please tell me how to see that value as it appears in other format. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
first 4 byte is used to store the actual record length |
Not quite. There are 2 lengths - the Block Descriptor and the Record Descriptor.
Quote: |
Please tell me how to see that value as it appears in other format. |
What does this mean? Please clarify. |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
Hi
I want to know the each actual record length, Which i think will be kept in Record descriptor as You mentioned. But it is not in display format i think. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Susanta wrote: |
But it is not in display format i think. |
True. If you view the records in ISPF the RDW portion of the record is not shown. If you HEX ON you will see the length of the data portion of each record not counting the 4 byte RDW.
Does this help? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You may also use a SORT JCL like:
Code: |
//SHOWV EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=...hlq.vb.file,DISP=SHR
//SORTOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
OUTREC BUILD=(1,4,1,2,BI,C'|',5)
/* |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
or you may redefine it as a "U" file and display it with HEX ON, I've not tried it, though. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Anuj Dhawan wrote: |
or you may redefine it as a "U" file and display it with HEX ON, I've not tried it, though. |
If you did that you would see all the record descripters, all the records and the block descripter, LLBBllbb----record----llbb---record---- etc... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Thanks CG - I'll just check it once I get to log-in tothe mainframes,
Have a good one, |
|
Back to top |
|
|
|