IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding IEBDG


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 59
Location: Chennai

PostPosted: Thu Jul 17, 2008 10:55 am
Reply with quote

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
Quote:
Packed data error



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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Jul 17, 2008 11:13 am
Reply with quote

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
View user's profile Send private message
Apeksha

New User


Joined: 21 May 2008
Posts: 37
Location: Mumbai

PostPosted: Thu Jul 17, 2008 12:51 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 17, 2008 1:46 pm
Reply with quote

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
View user's profile Send private message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 59
Location: Chennai

PostPosted: Thu Jul 17, 2008 2:03 pm
Reply with quote

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 icon_sad.gif .
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Thu Jul 17, 2008 5:02 pm
Reply with quote

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
View user's profile Send private message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 59
Location: Chennai

PostPosted: Fri Jul 18, 2008 9:38 am
Reply with quote

Thanks a lot prashanth.
It worked perfectly fine.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Creating Variable Length pattern file... JCL & VSAM 2
No new posts What for IEBDG is used and what is th... JCL & VSAM 1
Search our Forums:

Back to Top