MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Closing a set of files defined in a region using AFCP2016

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Anitha Veluchamy
Beginner


Joined: 11 Jan 2007
Posts: 3
Topics: 2

PostPosted: Wed Feb 07, 2007 7:56 am    Post subject: Closing a set of files defined in a region using AFCP2016 Reply with quote

Hi,

I need to close a set of files (not just a single file) defined in a CICS region CICSMPTG using AFCP2016. How do I specify the PARM for it?
The FCT Entries start with BRDT for those files.

PARM='AFCP2016,4GE,0069,CICSMPTG,C,???????????'
How do I go about? Tnx
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 07, 2007 8:51 am    Post subject: Reply with quote

Quote:

I need to close a set of files (not just a single file) defined in a CICS region CICSMPTG using AFCP2016.


Anitha Veluchamy,

AFCP2016 is NOT a standard IBM utility/transaction. It might be your shop specific program. So you need to check with your co-workers or system people.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shagnwrx
Beginner


Joined: 06 Jul 2006
Posts: 14
Topics: 0
Location: Birmingham, AL

PostPosted: Wed Feb 07, 2007 10:46 am    Post subject: Reply with quote

AFCP2016 is an batch utility program for AFCS (From CAFC). I don't think this company is around anymore, so documentation about it is thin at best.

AFCP2016 allows you to execute CICS transactions/commands through a batch job. In the JCL, put that command on the exec statement, or you can just simply run it as sysin like follows:

Like this:
Code:

//FILECLO EXEC PGM=AFCP2016,PARM='SYSIN'
//STEPLIB DD DSN=CAFC.LOADLIB,DISP=SHR
//CAFCTRAC DD SYSOUT=*
//CAFCWTOS DD SYSOUT=*
//SYSIN DD *
CICSMPTG,C,D,???????
/*

So the syntax is "cicsregion,command,command,fileddname"

The above command will Close and Disable the file.. When you need to open it again, just replace the "C,D," with "O,E," (Open/enable)
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group