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

DFHCSDUP EXTRACT unable to open output file


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
danik56

New User


Joined: 08 Mar 2017
Posts: 52
Location: Israel

PostPosted: Mon Feb 21, 2022 6:20 pm
Reply with quote

When running DFHCSDUP at 5.6 level, to extract RDO group into seq file, the job fails with following error.

IGZ0035S There was an unsuccessful OPEN or CLOSE of file CBDOUT in program BDEFCSD at relative location X'DC0'.
Neither FILE STATUS nor an ERROR declarative were specified. The status code was 96.
From compile unit BDEFCSD at entry point BDEFCSD at compile unit offset +00000DC0 at entry offset +00000DC0 at address 000A5DC0.

The CBDOUT DD is defined in JCL and I can see it was allocated by SMS
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Feb 21, 2022 8:09 pm
Reply with quote

If the file is correct in JCL, have you checked the DCB ?

Can you show your JCL ?

Garry.
Back to top
View user's profile Send private message
danik56

New User


Joined: 08 Mar 2017
Posts: 52
Location: Israel

PostPosted: Mon Feb 21, 2022 8:26 pm
Reply with quote

//STEP1 EXEC PGM=DFHCSDUP,REGION=0M,
// PARM='CSD(READONLY),PAGESIZE(60),NOCOMPAT'
//STEPLIB DD DSN=DFH560.CICS.SDFHLOAD,DISP=SHR
// DD DSN=CEE.SCEERUN2,DISP=SHR
// DD DSN=CEE.SCEERUN,DISP=SHR
//DFHCSD DD DISP=SHR,DSN=DFH560.CICS.DFHCSD
//CDBOUT DD DISP=NEW,DSN=EXTRACT.Z2CSD.DATASET,
// DCB=(RECFM=F,LRECL=80),
// SPACE=(TRK,(1,1)),UNIT=SYSDA
//*
//SYSPRINT DD SYSOUT=A
//SYSABOUT DD SYSOUT=A
//SYSIN DD *
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Feb 21, 2022 8:29 pm
Reply with quote

//CDBOUT DD DISP=NEW,DSN=EXTRACT.Z2CSD.DATASET,

should be

//CBDOUT DD DISP=NEW,DSN=EXTRACT.Z2CSD.DATASET,

Garry
Back to top
View user's profile Send private message
danik56

New User


Joined: 08 Mar 2017
Posts: 52
Location: Israel

PostPosted: Mon Feb 21, 2022 8:41 pm
Reply with quote

Thanks...This was easy....stupid mistake on my part..
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Feb 21, 2022 8:47 pm
Reply with quote

It's caught me out several times icon_smile.gif

Garry.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top