Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Other way to make a new copy for CICS programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Other way to make a new copy for CICS programs
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    Post subject: Re: Other way to make a new copy for CICS programs
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    Post subject: Re: Other way to make a new copy for CICS programs
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    Post subject: Re: Other way to make a new copy for CICS programs
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    Post subject:
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    Post subject: Re: Other way to make a new copy for CICS programs
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    Post subject:
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    Post subject:
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    Post subject: Re: Other way to make a new copy for CICS programs
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    Post subject:
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    Post subject: AFCP2016
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    Post subject:
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    Post subject:
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: 755
Location: Germany

PostPosted: Wed Nov 08, 2006 8:54 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us