View previous topic :: View next topic
|
Author |
Message |
Venkatreach
New User
Joined: 29 Apr 2005 Posts: 2 Location: Chennai
|
|
|
|
Hi,
We have to set the new copy for CICS programs with the CEMT SET PRO(pgm name) NEW command.
Is there is any other way to set the new copy? Is yes pl let me know the details.
Thanks in advance. |
|
Back to top |
|
|
Ram_k
New User
Joined: 28 Apr 2005 Posts: 5 Location: Chennai
|
|
|
|
Hi,
I dont know why do you want an other way to set new copy..but if you got struck bcoz you are unable to put a newcopy (error encountered during newcopy) try to use CEMT S PROG(PROGNAME) PHASEIN ..
Hope this helps you.. |
|
Back to top |
|
|
Venkatreach
New User
Joined: 29 Apr 2005 Posts: 2 Location: Chennai
|
|
|
|
Hi Thanks for the reply,
It was an interview Q from IBM.
I am not sure an other way is there or not. Will go thru the details of this command. |
|
Back to top |
|
|
Ram_k
New User
Joined: 28 Apr 2005 Posts: 5 Location: Chennai
|
|
|
|
The command which i mentioned above can be used as an other way to set newcopy if ur new copy fails |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
I think in IBM some people will give CNTL new;prog progname
Please check with that. Iam not sure whether prog will come or not.
Amar |
|
Back to top |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
Hi Ram,
What is the use of the PHASEIN command apart from refreshing a program??My shop doesn't have this type of command.
Thanks
Venkat |
|
Back to top |
|
|
subhi_dhanbad
New User
Joined: 17 May 2005 Posts: 11 Location: India/chennai
|
|
|
|
Hi Ram,
add the following lines in ur compile job
//NEWCOPY EXEC PGM=AFCP2016,PARM='ATDCIG0L,CEMT,S PROG(pgmname) PH',
// COND=(8,LE)
## here PARM= The cics region where u want to do newcopy. It is installation dependent.
Thanks,
Subhi. |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
u can directly use cntl=new,prog=<prog-name>.This will take the new copy in cics. My shop alows me to take in this way and i prefer this way only. |
|
Back to top |
|
|
vidyasaraswathi
New User
Joined: 10 May 2005 Posts: 72
|
|
|
|
Ya, I agree with Kanak.
If the load module and the symbolic file dates are matching, then
CNTL=NEW,PROG=progname this command works. If they are not matching, the discrepancy message will be displayed on the screen. But the newcopy will be made.
Thanks and Regards,
Vidya Bhat |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
What's "AFCP2016"? |
|
Back to top |
|
|
subhi_dhanbad
New User
Joined: 17 May 2005 Posts: 11 Location: India/chennai
|
|
|
|
Hi MGIndaco,
Not sure but it may be some system program for doing new copy.
Thanks,
Subhi |
|
Back to top |
|
|
senthilkumar selvaraju
New User
Joined: 30 May 2005 Posts: 16
|
|
|
|
hi,
i think following command is very simple for put newcopy
newc programname |
|
Back to top |
|
|
dsbhati
New User
Joined: 13 Jun 2005 Posts: 10 Location: india
|
|
|
|
Hi
I think we can initiate a transaction also using AFCP2016. But i would like to know the parametre it can take ??
To Initiate a tarnsaction
//JS040 EXEC PGM=AFCP2016,PARM='SYSIN',COND=(0,NE)
//STEPLIB DD DSN=ACSNS.CAFC.QCPTEST.LOADLIB,DISP=SHR
//CAFCTRAC DD SYSOUT=*
//CAFCWTOS DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
CICSQCPV,TRAN,O909
**************************** Bottom of Data *************
So can we triger two programe based on some condition??? |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
As Bitneuker answered already in an other question:
//STEP1 EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(*,INTRDR),DCB=I
//SYSUT1 DD DATA,DLM=$$
/*$VS,'F NTCIC0E,CEMT SET PROG(UTIL5610) NEW'
...with the MVS-Modify command !!!
Regards, UmeySan |
|
Back to top |
|
|
|