View previous topic :: View next topic
|
Author |
Message |
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Can I set new copy for a compiled program using a batch job?
Arun |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Yes.
O. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi,
It would be great if you can post the JCL here...
Thanks,
Arun |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I will not post the JCL, since there are many examples (here and in Google).
O. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi ....
I got some examples from google...but it is not giving me the expected result. Could anybody help me out on this..
Code: |
//STEP01 EXEC PGM=IEFBR14
// F CICSCL2T,'CEMT SET PROG(pgmname) NEW'
//SYSIN DD DUMMY
//*
|
Code: |
//STEP1 EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSUT1 DD DATA,DLM=$$
/*$VS,'F NTCIC0E,CEMT SET PROG(pgmname) NEW'
$$
|
Thanks,
Arun |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi,
Any news on this....??????????????
Thanks,
Arun |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
try a 3rd party product.
batchcics-connect (www.batchcics.com) has an option to run cemt from batch |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi,
Do you mean without a 3rd party product, it is not possible...???
Thanks,
Arun |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi ofer71,
Can you point out what could be the error or what change I can make in the JCL to make it work....
Thanks,
Arun |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
No, I can't you will have to ask your system guys.
By the way, I'm using EXCI for that purpose. Search the web and the manuals for examples.
O. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hi,
No problem.I got the results right....here is my jcl...thanks everybody....
Code: |
//NEWCOPY EXEC PGM=AFCP2016,PARM='cicsregn,CEMT,S PROG(pgm-name) NE'
//STEPLIB DD DSN=CICSD.CAFC.LOADLIB,DISP=SHR
|
The STEPLIB dataset and cicsregn depends on the installation.
Thanks,
Arun |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
based on the posted jcl,
looks like ARCVNS has an old 3rd party product (CAFC)
|
|
Back to top |
|
|
|