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
 

 

CEMT set new copy using batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Arun Raj

Moderator


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

PostPosted: Tue Jan 08, 2008 4:15 pm    Post subject: CEMT set new copy using batch job
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: 2360
Location: Israel

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

Yes.

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

Moderator


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

PostPosted: Tue Jan 08, 2008 5:16 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Jan 08, 2008 5:28 pm    Post subject:
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: 2177
Location: @my desk

PostPosted: Tue Jan 08, 2008 11:31 pm    Post subject:
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: 2177
Location: @my desk

PostPosted: Wed Jan 09, 2008 8:14 pm    Post subject:
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    Post subject:
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: 2177
Location: @my desk

PostPosted: Sat Jan 12, 2008 11:15 am    Post subject:
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: 2177
Location: @my desk

PostPosted: Sat Jan 12, 2008 11:17 am    Post subject:
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: 2360
Location: Israel

PostPosted: Sun Jan 13, 2008 2:19 am    Post subject:
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: 2177
Location: @my desk

PostPosted: Mon Jan 14, 2008 6:46 pm    Post subject:
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    Post subject:
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    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 HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm


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