View previous topic :: View next topic
|
Author |
Message |
Mariraj
New User
Joined: 09 Jul 2007 Posts: 59 Location: Chennai
|
|
|
|
I executed the following JCL.
Code: |
//STEP1 EXEC PGM=IEBDG
//SYSPRINT DD SYSOUT=*
//SEQIN DD DISP=SHR,DSN=XXXXX.IEBDG.INPUT.PS1
//SEQOUT DD DSN=XXXXX.IEBDG.OUTPUT.PS1,
// DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(10,5),RLSE),UNIT=SYSALLDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSIN DD *
DSD OUTPUT=(SEQOUT),INPUT=(SEQIN)
FD NAME=FIELD1,LENGTH=10,STARTLOC=20
FD NAME=FIELD2,LENGTH=10,STARTLOC=50
CREATE QUANTITY=5,INPUT=SEQIN,NAME=(FIELD1,FIELD2)
END
/*
|
The input file contains the following data.
Code: |
----+----1----+----2----+----3----+----4----+----5----+----6-
********************************* Top of Data ***************
ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890ABCDEFGHIJKLMNOPQRSTUVXYZ
|
The job completed with MAXXCC=0. But when itried to open the output file, it throws the following message
The output records should identical to the input records, except for locations 20 through 29 and 50 through 59, which should contain binary zeros. This is my requirement.
Please let me know what is wrong with this JCL. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I have run it and it's fine, ie. binary zeroes as you mentioned.
An aside issue, try not to use such inefficient blocksize.
Gerry |
|
Back to top |
|
|
Apeksha
New User
Joined: 21 May 2008 Posts: 37 Location: Mumbai
|
|
|
|
Hi,
The JCL is working fine for me,
according to me the PACKED DATA error occurs when you have any comp data. You can try using PACK OFF while browsing a dataset.
Though not sure of this. Do let know the solution |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Mariraj wrote: |
Packed data error |
From the manuals:
Quote: |
ISRB112Packed data error - Invalid packed data format. Data set possibly corrupted.
Explanation:
The data set that you are attempting to Browse or Edit has data that appears to be packed but is not in the format that is valid for ISPF packed data. The data set may be corrupted.
System Programmer Response:
Determine whether the data set should be ISPF packed or not. Investigate possible corruption of the data set. |
Manuals link: publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.f54mc00/pdf.htm |
|
Back to top |
|
|
Mariraj
New User
Joined: 09 Jul 2007 Posts: 59 Location: Chennai
|
|
|
|
Thanks for the response everyone.
I deleted the output file and re-ran the job, but still the issue is not solved.
I am not sure how & why does the output dataset gets corrupted . |
|
Back to top |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
Open your input dataset
in the command link give pack off
Submit the JCL
Verify the out put dataset
It should work fine
Check and let me know |
|
Back to top |
|
|
Mariraj
New User
Joined: 09 Jul 2007 Posts: 59 Location: Chennai
|
|
|
|
Thanks a lot prashanth.
It worked perfectly fine. |
|
Back to top |
|
|
|