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
 

 

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: 6966
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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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