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: 8165
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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