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: 44
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: 1153
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: 44
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: 1153
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: 44
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: 1153
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 PS file parameter JCL & VSAM 4
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
No new posts Output LREC based on specific character DFSORT/ICETOOL 22
No new posts Discrepancy between source code and o... COBOL Programming 7
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
Search our Forums:

Back to Top