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

CEMT set new copy using batch job


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

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Jan 08, 2008 4:15 pm
Reply with quote

Can I set new copy for a compiled program using a batch job?

Arun
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 08, 2008 4:38 pm
Reply with quote

Yes.

O.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Jan 08, 2008 5:16 pm
Reply with quote

Hi,

It would be great if you can post the JCL here...

Thanks,
Arun
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 08, 2008 5:28 pm
Reply with quote

I will not post the JCL, since there are many examples (here and in Google).

O.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Jan 08, 2008 11:31 pm
Reply with quote

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

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Jan 09, 2008 8:14 pm
Reply with quote

Hi,

Any news on this....??????????????

Thanks,
Arun
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Jan 11, 2008 6:56 pm
Reply with quote

try a 3rd party product.

batchcics-connect (www.batchcics.com) has an option to run cemt from batch
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Sat Jan 12, 2008 11:15 am
Reply with quote

Hi,

Do you mean without a 3rd party product, it is not possible...???

Thanks,
Arun
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Sat Jan 12, 2008 11:17 am
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Jan 13, 2008 2:19 am
Reply with quote

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

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Jan 14, 2008 6:46 pm
Reply with quote

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

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Jan 15, 2008 12:10 am
Reply with quote

based on the posted jcl,
looks like ARCVNS has an old 3rd party product (CAFC)

icon_cool.gif
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 VB to VB copy - Full length reached SYNCSORT 8
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
Search our Forums:

Back to Top