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

Error while copying VSAM to PS


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

New User


Joined: 20 Jul 2007
Posts: 4
Location: pune, india

PostPosted: Thu May 08, 2008 2:05 pm
Reply with quote

I am getting following error along with maxcc=8 while i try to copy VSAM to PS file.

IDC3300I ERROR OPENING P0EM.BPBC.CONTRL.G0275V00
IDC3321I ** OPEN/CLOSE/EOV ABEND EXIT TAKEN


Following is the JCL...............

Code:

//PEM080   EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=&SOUT
//VSAMFL   DD DSN=TSOM.OPDX.CONTRL,DISP=SHR
//SEQNTL   DD DSN=P0EM.BPBC.CONTRL(+1),
//            DISP=(,CATLG,DELETE),
//            UNIT=&CART,
//            VOL=(,RETAIN),
//            DCB=(GDGDSCB,RECFM=FB,LRECL=180),
//            LABEL=(7,SL)
//SYSIN    DD *
            REPRO INFILE(VSAMFL) OUTFILE(SEQNTL)


Interesting thing is that out of 4 times I get this error only for one time. Rest three times it copies successfully and MaxCC will be 0.

Please suggest me how to resolve this issue. Thanks!
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 May 08, 2008 2:22 pm
Reply with quote

Hi,

Why did you use "//" in
Code:
 // REPRO INFILE(VSAMFL) OUTFILE(SEQNTL)
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 08, 2008 4:04 pm
Reply with quote

Quote:

IDC3300I ERROR OPENING P0EM.BPBC.CONTRL.G0275V00

//SEQNTL DD DSN=TSOM.BPBC.CONTRL(+1),


why do i get the feeling that the OP could not bother to copy the correct info for the post?

POEM.BPBC.CONTRL and TSOM.BPBC.CONTRL

such rookie garbage!
Back to top
View user's profile Send private message
shreedhardeshpande

New User


Joined: 20 Jul 2007
Posts: 4
Location: pune, india

PostPosted: Thu May 08, 2008 9:37 pm
Reply with quote

That was a typo mistake. I have coded repro correctly. Can anyone pls suggest how to correct the issue.
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 May 08, 2008 11:20 pm
Reply with quote

Hi,

Syntactically your JOB seems correct, please post full SYSOUT messages of failed JOB, might be some one here would have a suggestion.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri May 09, 2008 4:07 am
Reply with quote

Hi,
I have one question regarding the JCL, the JCL is calling for a scratch so why are you writing to label 7 and not label 1, if label 6 is not on the scratch volume job will fail.


Gerry
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top