> I am having problems with variable record lengths where minimum
> record length is 211, 4 (RDW) plus 207 characters. The rest of the
> record is varying from 0 (zero) to max of LRECL=32756. I am just
> interested in the first 1000 characters of the input records. (See
> below for the input record sample)


Elardus,

There are couple of ways to handle.

   You can pad the 712 byte with a SPACE. That would allow CSVARDATA
   contents as is if a record happens to have all the 550 bytes

//VLSHCNTL DD  *
  OPTION COPY
  INREC OVERLAY=(712:X)
/*


   You can INCLUDE records with a minimum length of 711.  Since the input
   is a VB file you can validate the RDW and INCLUDE those Records

//VLSHCNTL DD  *
  OPTION COPY,VLSCMP
  INCLUDE COND=(1,2,BI,GE,711)
/*

Further if you have any questions please let me know

Thanks,
Kolusu
DFSORT Development
IBM Corporation


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to