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
 

 

SELCOPY ERROR code 52

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
mosinjamadar

New User


Joined: 26 Sep 2007
Posts: 42
Location: pune

PostPosted: Wed Feb 11, 2009 11:21 am    Post subject: SELCOPY ERROR code 52
Reply with quote

//TIBMJJAA JOB 2121,'RFD',CLASS=7,MSGCLASS=U,NOTIFY=&SYSUID
//STEP1 EXEC PGM=SELCOPY
//DD1 DD DSN=TIB.TIBMJJ.FIL1,DISP=SHR
//DD2 DD DSN=TIB.TIBMJJ.FIL6,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
READ DD1
WRITE DD2

Hi all
above is my SELCOPY job for whcih i am getting return code 52 in the JCL .I tried even with simple selcopy JCL but still i am facing same issue

follwoing is the error in SYSPRINT
OPTION W=1000

1. READ DD1
*
* ERROR 045 *** UNRECOGNISED PARAMETER

2. WRITE DD2

* ERROR 004 *** * * * * JOB ABNORMALLY TERMINATED * * * *



could you please help me to solve the problem
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 11, 2009 3:46 pm    Post subject:
Reply with quote

This appears to be a third-party product; you may find someone on this forum with knowledge of the product or you may not.
Back to top
View user's profile Send private message
appi

New User


Joined: 10 Feb 2009
Posts: 1
Location: India

PostPosted: Wed Feb 11, 2009 5:08 pm    Post subject:
Reply with quote

The solution for the abend 52 are as following:-

U 0052 Batch selcopy - not all dbs in psb listed in jcl

52 - You tried to add a keyed record to a file which already
contained a record with the specified key. For a
For a REGIONAL(1) data set, an attempt was made to write
into a region already containing a record.

52 - SYSPRINT might be not available in the JCL.
Back to top
View user's profile Send private message
mosinjamadar

New User


Joined: 26 Sep 2007
Posts: 42
Location: pune

PostPosted: Thu Feb 12, 2009 4:04 pm    Post subject: Reply to: SELCOPY ERROR code 52
Reply with quote

Thanks for your reply
but i ddint under stand the solution you provided,can you please elobrate it further
Back to top
View user's profile Send private message
Nick Jones

New User


Joined: 28 Apr 2009
Posts: 13
Location: UK

PostPosted: Wed Apr 29, 2009 4:28 pm    Post subject: Reply to: SELCOPY ERROR code 52
Reply with quote

Hi mosinjamadar,

I work on the SELCOPY query desk at Compute (Bridgend) Ltd.

The JCL and SYSIN input to SELCOPY that you provided in your original post lokks correct. (I cut and pasted it to TSO and submitted it successfully)

ERROR 45 is a control statement syntax error. Please could you forward me your SELCOPY job step and also the SYSPRINT output as attachments.
You can do this as an off-list private message if you prefer.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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