Page 2 of 3

Re: Unable to unpack PD field of a VB file

PostPosted: Tue Sep 04, 2012 6:40 pm
by sreerangesh
following is the error when I did without DCB info and with DCB of LRECL 474 in both the cases getting the same error.


WER108I SORTIN : RECFM=VB ; LRECL= 462; BLKSIZE= 27998
WER237I OUTREC RECORD LENGTH = 474
WER110I SORTOUT : RECFM=VB ; LRECL= 474; BLKSIZE= 27998
WER410B 7,848K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE,
WER410B 0 BYTES RESERVE REQUESTED, 2,264K BYTES USED
WER244A OUTREC - SHORT RECORD

Re: Unable to unpack PD field of a VB file

PostPosted: Tue Sep 04, 2012 6:43 pm
by BillyBoyo
Rather than us fixing your errors one by one, how about consulting your documentation/searching the web to find out what WER244A means? You could even just guess from the text of the message.

Re: Unable to unpack PD field of a VB file

PostPosted: Tue Sep 04, 2012 7:16 pm
by sreerangesh
Yes BB, I am parellaly doing the same. my idea is that if some body might have faced the same issue can guide me.

Re: Unable to unpack PD field of a VB file

PostPosted: Tue Sep 04, 2012 7:29 pm
by BillyBoyo
You have "variable length records". But

  56:44,419)


Here you copy from position 44 for a length of 419 bytes. Not all your records are the full length. Your records are not fixed in length.

What you need is:

  56:44)


This, as the last definition on the statement, says "copy from start position 44 to the end of the current record". With that code, you'll not get a "short record" unless any records on your file are less than 44 bytes long.

Re: Unable to unpack PD field of a VB file

PostPosted: Tue Sep 04, 2012 8:55 pm
by dick scherrer
Hello,

56+419 = 474
In which numbering system ;)

d

Re: Unable to unpack PD field of a VB file

PostPosted: Tue Sep 04, 2012 9:13 pm
by Akatsukami
Frictional losses :D

Re: Unable to unpack PD field of a VB file

PostPosted: Wed Sep 05, 2012 12:57 pm
by sreerangesh
56+419 = 474, it is actully 475 but counting from the number of bytes from 56 to 419 it is 474 in length :)

Re: Unable to unpack PD field of a VB file

PostPosted: Thu Sep 06, 2012 11:22 am
by sreerangesh
some body can help me in this, is it possible with sync sort or is there any other way to achieve this

Re: Unable to unpack PD field of a VB file

PostPosted: Thu Sep 06, 2012 12:17 pm
by NicC
Well, excuse me,but it is bad manners to solicit responses apart from making an initial post. You have provided no indication that you have correctly implemented the last suggestion. Probably people are busy doing other things like their own jobs until you come back with a success/failure message.

Re: Unable to unpack PD field of a VB file

PostPosted: Thu Sep 06, 2012 12:34 pm
by BillyBoyo
I thought you were OK now.

Can you post your control cards, JCL, sysout from the step and let us know exactly what is wrong, please?