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

Deallocating CICS FCT using a JCL.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Sat Aug 30, 2008 5:29 pm
Reply with quote

Hi,

If a file is allocated to the CICS online i.e.

Code:
   CEMT INQ FILE(EXMFILE)


returns that the DSN is OPEN and ENABLED, then I cannot edit it using a JCL.

Is it possible using a JCL, to instruct CICS to CLOSE DISABLE the DD in CICS online? i.e. to kick following instruction using a JCL..

Code:
 CEMT SET FILE(EXMFILE) CL DI


Thanks in advance.

Regards
Rahul.[/code]
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Mon Sep 01, 2008 3:30 pm
Reply with quote

Hi Rahul,

files can be opened and closed using IPCPBTCH utility. Try this JCL for CEMT command and let us know the result.

JCL for closing file

//IPCPBTCH EXEC PGM=IPCPBTCH
//STEPLIB DD DSN=XXXX.IPCP.LOAD,DISP=SHR
//IPCPCDS DD DSN=XXXX.IPCP.CICS.IPCPCNTL,DISP=SHR
//AUDIT DD SYSOUT=*
//SYSIN DD *
CICS CC ONLY=CICS00
CLOS DB F0116
DEALLOC DDNAME=F0116

and for opening file

//IPCPBTCH EXEC PGM=IPCPBTCH
//STEPLIB DD DSN=XXXX.IPCP.LOAD,DISP=SHR
//IPCPCDS DD DSN=XXXX.IPCP.CICS.IPCPCNTL,DISP=SHR
//AUDIT DD SYSOUT=*
//SYSIN DD *
CICS CC ONLY=CICS00
ALLOC DDNAME=F0116,DSN=ABDCV.PERMBAK.F0116,DISP=SHR
OPEN DB F0116
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Mon Sep 01, 2008 4:15 pm
Reply with quote

hi Srinivas, my shop doesn't seem to have IPCPBTCH utility. I think we are using SYNCOMM (SYNCHRO) here.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top