Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
Quote:
ICE217A 7 2162 BYTE VARIABLE RECORD IS LONGER THAN 80 BYTE MAXIMUM FOR TEMP0001
Siva S,
Looks like you pre-allocated the TEMP0001 file with an LRECL of 80 bytes. if you coded the DCB parameter on TEMP0001 file , please remove them and re-run the job. Also your DISPLAY statement is missing a header parm for the VLEN
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Siva S,
Something doesn't add up here. You received the error message because your TEMP0001 data set has LRECL=80, but I don't see anything in the JCL you posted that sets that LRECL. When I ran a job like yours, TEMP0001 was given an LRECL of 4096 (as I would expect it to), and the COPY operator ran without an error (the DISPLAY operator got an error message because you don't have a HEADER operand for the first ON operand).
I suspect you're not showing the actual JCL you used for the job associated with the error message. Another clue that's true is the following;
In the DFSMSG messages, it shows:
Code:
OPTION VLSHRT VLLONG VLTRIM=C''
whereas in your RACFCNTL JCL, you have:
Code:
OPTION VLSHRT
so that doesn't match up either. Note that VLLONG and VLTRIM=C' ' will be ignored since you have a blank after VLSHRT, but VLLONG and VLTRIM=C' ' aren't needed anyway.
You need to figure out why TEMP0001 has LRECL=80. Or you could just override the LRECL=80 by specifying LRECL=4096 for the TEMP0001 DD.
Hi Skolusu,
I did not pre allocate TEMP0001, but now after Including the RECFM=VB and LRECL=4096 with TEMP0001 , the JCL generated a report and ended with Return Code 0.
Hi Frank,
I had given only the actual JCL that I submitted. Now I added ON
(VLEN) HEADER('VLEN') in the DISPLAY and VLLONG VLTRIM=C'' in the SORT . It is working fine.