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
 

 

Automating Newcopy thru Endevor

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

New User


Joined: 06 Sep 2010
Posts: 5
Location: South Africa

PostPosted: Tue Sep 14, 2010 4:33 pm    Post subject: Automating Newcopy thru Endevor
Reply with quote

Hi

Has anyone automated the newcopy. I am trying to put a step in our endevor compile processor to do newcopy after successfull compilation of the CICS program. This to help programmers not to manually do a newcopy after making changes to their programs:

Below is the step that I have put in to the endevor compile:
//XCF1 EXEC PGM=IEBEDIT, COND(4,LT)
//SYSPRINT DD DUMMY
//SYSUT1 DD DDNAME=IEFRDER

STMT 145 INVALID--KEYWORD DDNAME IS NOT SUPPORTED

//SYSUT2 DD SYSOUT=(A,INTRDR),DCB=BLKSIZE=80
//SYSIN DD DUMMY
//IEFRDER DD *
/*$VS,'F DCICMDA1,CEMT SET PROG(&C1ELEMENT) NEWCOPY'
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7997
Location: Bellevue, IA

PostPosted: Tue Sep 14, 2010 4:45 pm    Post subject:
Reply with quote

There are advantages to a manual newcopy. The programmer can do an inquiry on the program, do the newcopy, and verify that the program length changed. This allows the programmer to have some confidence that the right library in the DFHRPL concatenation sequence was used for the compile. And if multiple programmers are changing a module, automated newcopy would possibly cause issues where the programmers are not sure which version is installed.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Sep 14, 2010 5:06 pm    Post subject:
Reply with quote

Why are you using IEBEDIT?
especially since you are not following the required syntax for this utility.

would not a direct EXEC of
whichever 3rd party or IBM utility used to communicate to CICS via batch be a better choice?

there are threads concerning this topic in the forum. just have to search,
instead of posting the same question on two boards (at nearly the same time). not really good 'manners'.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 662
Location: Pennsylvania

PostPosted: Tue Sep 14, 2010 8:12 pm    Post subject:
Reply with quote

Robert,

We were faced with this decision several years ago.

After a poll of the programmers, seeing the length change and feeling confident was easily displaced with the ease of 'its done'.

We have 15 development libraries and each has it's own cics region.

With the proper concatenation established, we have had virtually no issues with automating the process.

We have also automated newcopies when modules are promoted to the next level for quality testing and production.

Tebgo23,

We use an in house written assembler module (not by me) to perform the newcopy. I am not at liberty to provide this code to you as it does not belong to me.

I was just speaking to my perception of the advantages of automating this process.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Sep 18, 2010 5:49 pm    Post subject:
Reply with quote

There are several software products available that can perform cemt
from batch ..

perform a google or yahoo search on BatchCICS

or take a look at this:

http://cicswiki.org/cicswiki1/index.php?title=How_do_I_interact_with_a_transaction_from_a_batch_program%3F#3rd_party_Vendor_Software
Back to top
View user's profile Send private message
Tebogo23

New User


Joined: 06 Sep 2010
Posts: 5
Location: South Africa

PostPosted: Tue Sep 28, 2010 7:00 pm    Post subject: Reply to: Automating Newcopy thru Endevor
Reply with quote

This is what I have tried lately and the error was sorted out, but when I check the output of the cobol cics it does not give the desired results.

Job11847 $HASP120 INTRDR $VS, 'F DCICMAA!, CEMT SET PROG (&C1ELEMNT) NWECOPY

&C1ELEMNT should be substituted by element name. Please help

Herewith my ammended step:
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD DUMMY
//SYSUT2 DD SYSOUT=(A,INTRDR),DCB=BLKSIZE=80
//SYSIN DD DUMMY
//SYSUT1 DD DATA,DLM=$$
/*$VS,'F DCICMAA1,CEMT SET PROG (&C1ELEMNT) NEWCOPY'
$$
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Sep 29, 2010 12:43 am    Post subject:
Reply with quote

cobtact your local support people, you seem to be struggling and guessing without much success.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 662
Location: Pennsylvania

PostPosted: Wed Sep 29, 2010 12:48 am    Post subject:
Reply with quote

Is this just another case of instream data not having the symbolic parameter resolved?

You need another way of passing the program name to be new copied.
Back to top
View user's profile Send private message
Tebogo23

New User


Joined: 06 Sep 2010
Posts: 5
Location: South Africa

PostPosted: Wed Sep 29, 2010 2:53 am    Post subject: Reply to: Automating Newcopy thru Endevor
Reply with quote

Got it right, spelling mistake, &c1elemnt instead of &c1element.

Thank you all.

Best regards
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 29, 2010 2:57 am    Post subject: Reply to: Automating Newcopy thru Endevor
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
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 Endevor error C1UU999E during cast Musab Ahmed CA Products 3 Wed Jun 29, 2016 12:41 pm
No new posts Why Newcopy is required when we have ... DIXINSH CICS 5 Thu Apr 28, 2016 9:47 am
No new posts SE37 while adding element to endevor kalyan.v CA Products 5 Mon Apr 25, 2016 6:05 pm
No new posts Endevor Error mahi CA Products 3 Sun Mar 20, 2016 4:08 pm
No new posts New PROC not reflecting in prod even ... Musab Ahmed CA Products 9 Tue Mar 15, 2016 12:45 pm


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