Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding IEBDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Regarding IEBDG
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: 1703
Location: Australia

PostPosted: Thu Jul 17, 2008 11:13 am    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 17, 2008 1:46 pm    Post subject: Re: Regarding IEBDG
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: http://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    Post subject:
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    Post subject: Reply to: Regarding IEBDG
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Creating Variable Length pattern file... sudarshan.srivathsav JCL & VSAM 2 Tue Sep 23, 2014 2:41 am
No new posts What for IEBDG is used and what is th... rsshanmugam JCL & VSAM 1 Mon Nov 14, 2005 9:43 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us