but the problem is the members in the PDS are of 150 bytes and when copied to PS, it copies records only till 130 bytes and jumps to next line to copy other fields..
i tried using higher record length.. say lrecl=200, but it abends saying invalid DCB parameter and problem with the SYSIN parameter.
CAN anyone help me with this?? explain me wat does PUNCH TYPORG=PO do?? anything i need to look on??
Joined: 06 Jun 2008 Posts: 8152 Location: East Dubuque, Illinois, USA
Please click on the manuals link at the top of the page, find the JCL Language Reference manual, and read in it until you understand completely what you are doing in this statement (specifically the SPACE and LRECL parameters):
Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
The SYSUT2 DD statement is required every time IEBPTPCH is used. The record format is always FBA or FBM. The LRECL parameter, or, if no logical record length is specified, the BLKSIZE parameter, specifies the number of characters to be written per printed line or per punched card (this count must include the control character). The number of characters specified must be in the range of 2 through 145. The default values for edited output lines are 121 characters per printed line and 81 characters per punched card.
The SYSUT2 data set can be blocked by specifying both the LRECL and the BLKSIZE parameters, in which case, block size must be a multiple of logical record length.
If the logical record length of the input records is such that the output would exceed the output record length, IEBPTPCH divides the record into multiple lines or cards in the case of standard printed output, standard punched output, or when the PREFORM parameter is specified. For nonstandard output, or if the PREFORM parameter is not specified, only part of the input record is printed or punched (maximums determined by the specific characteristics of your output device).