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
 
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: 8280
Location: Dubuque, Iowa, 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 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Getting GG return code abdulrafi IMS DB/DC 2 Tue Apr 10, 2018 12:31 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts Conditional setting of return-code af... sanvan COBOL Programming 9 Wed Jan 31, 2018 11:05 pm

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