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

Other way to make a new copy for CICS programs


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Venkatreach

New User


Joined: 29 Apr 2005
Posts: 2
Location: Chennai

PostPosted: Fri Apr 29, 2005 3:46 pm
Reply with quote

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
View user's profile Send private message
Ram_k

New User


Joined: 28 Apr 2005
Posts: 5
Location: Chennai

PostPosted: Fri Apr 29, 2005 5:01 pm
Reply with quote

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
View user's profile Send private message
Venkatreach

New User


Joined: 29 Apr 2005
Posts: 2
Location: Chennai

PostPosted: Fri Apr 29, 2005 5:33 pm
Reply with quote

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
View user's profile Send private message
Ram_k

New User


Joined: 28 Apr 2005
Posts: 5
Location: Chennai

PostPosted: Fri Apr 29, 2005 5:42 pm
Reply with quote

The command which i mentioned above can be used as an other way to set newcopy if ur new copy fails
Back to top
View user's profile Send private message
notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Fri Apr 29, 2005 6:00 pm
Reply with quote

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
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Sat May 07, 2005 8:39 pm
Reply with quote

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
View user's profile Send private message
subhi_dhanbad

New User


Joined: 17 May 2005
Posts: 11
Location: India/chennai

PostPosted: Thu May 19, 2005 6:42 pm
Reply with quote

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
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Thu May 19, 2005 8:25 pm
Reply with quote

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
View user's profile Send private message
vidyasaraswathi

New User


Joined: 10 May 2005
Posts: 72

PostPosted: Fri May 20, 2005 2:57 pm
Reply with quote

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
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri May 20, 2005 6:17 pm
Reply with quote

What's "AFCP2016"?
Back to top
View user's profile Send private message
subhi_dhanbad

New User


Joined: 17 May 2005
Posts: 11
Location: India/chennai

PostPosted: Sat May 21, 2005 2:09 pm
Reply with quote

Hi MGIndaco,

Not sure but it may be some system program for doing new copy.

Thanks,
Subhi
Back to top
View user's profile Send private message
senthilkumar selvaraju

New User


Joined: 30 May 2005
Posts: 16

PostPosted: Mon May 30, 2005 8:48 pm
Reply with quote

hi,


i think following command is very simple for put newcopy

newc programname
Back to top
View user's profile Send private message
dsbhati

New User


Joined: 13 Jun 2005
Posts: 10
Location: india

PostPosted: Wed Nov 08, 2006 8:23 pm
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Nov 08, 2006 8:54 pm
Reply with quote

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
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 Copy only TEXT or String from a record SYNCSORT 4
No new posts Associating a USERID with a CICS-Libe... CICS 0
No new posts omegamon for cics -UNSUPPORTED ENVIRO... CICS 2
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts How to Login in to cics region and is... CICS 9
Search our Forums:

Back to Top