Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Deallocating CICS FCT using a JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 88
Location: London

PostPosted: Sat Aug 30, 2008 5:29 pm    Post subject: Deallocating CICS FCT using a JCL.
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
References
Srinivasa Rao

Active User


Joined: 21 Jun 2005
Posts: 79

PostPosted: Mon Sep 01, 2008 3:30 pm    Post subject:
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: 88
Location: London

PostPosted: Mon Sep 01, 2008 4:15 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1