Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error while copying VSAM to PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Error while copying VSAM to PS
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

Senior Member


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

PostPosted: Thu May 08, 2008 2:22 pm    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Thu May 08, 2008 4:04 pm    Post subject:
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    Post subject: Reply to: Error while copying VSAM to PS
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

Senior Member


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

PostPosted: Thu May 08, 2008 11:20 pm    Post subject:
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: 1703
Location: Australia

PostPosted: Fri May 09, 2008 4:07 am    Post subject:
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    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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us