Page 1 of 1

Problem with variable length print

PostPosted: Sat Jul 18, 2009 1:29 pm
by Ron Mascarenhas
I have a problem printing variable length records.

For example if I specify the following and the record is shorter than 256, I get an error. Even tried VLSHRT and VLSCMP.
DISPLAY FROM(INDD) LIST(LISTDD) ON(1,256,HEX)

Re: Problem with variable length print

PostPosted: Sun Jul 19, 2009 3:09 am
by dick scherrer
Hello,

When you have a new question, please start a new topic for the new question.

Post the complete jcl, sort control statements, and the informational/diagnostic information generated by the run. Be sure t include the message ids.

Re: Problem with variable length print

PostPosted: Mon Jul 20, 2009 8:50 pm
by Frank Yaeger
Ron,

Also, what is the LRECL of the input file? For short records, do you want the missing bytes padded with blanks or something else?