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

SELCOPY ERROR code 52


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 11, 2009 3:46 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top