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

Update & activate components of changeman package thru R


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Mon Jul 06, 2009 9:50 am
Reply with quote

HI,

Is it possible to update & activate components of changeman package thru a rexx program..

Please let me know for any further information...

Thannks & Regards,
Pradeep.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Jul 06, 2009 9:54 am
Reply with quote

Hello,

I suspect there is already a standard process in place for your environment.

What reason is there for writing something additional/non-standard?

Possibly, there is something i misunderstand. . .
Back to top
View user's profile Send private message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Mon Jul 06, 2009 10:33 am
Reply with quote

Hi,

Thanks for the Reply,

My requirement is to update & compile multiple components of a changeman package thru REXX pgm..

for Ex..i have a changeman package 'XXXX1234' with some 100 components,now i have to add few similar lines of code to all the components after the last line and compile them..

Hence if the number of components increases the time consumption to edit and add code to all the componets also increases which increases the chances of manual errors...
for this reason we are searching a way whether we can automate this process with a REXX code ...

Please let me know for any further information/possibilities of coding this

Thanks & Regards,
Pradeep.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Mon Jul 06, 2009 11:12 am
Reply with quote

I agree with Dick -- I use Change Man since quite time by now, compiling/staging etc. are just matter of hitting some PF keys in change man so it's little strange to look for such a "tool".

I do not do REXX much, however, to start with such a "tool" you may try invoking those PF keys using REXX.
Back to top
View user's profile Send private message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Mon Jul 06, 2009 2:18 pm
Reply with quote

Hi Anuj,

Thanks for the reply.

I was trying to invoke the changeman

000014 if region = 'EU' then
000015 "cmanuk"


this code is able to invoke the changeman main menu but iam not sure how to access the particular options like stage in changeman thru rexx...

Please help me how to access the changeman options after invoking cmn..

please let me know for any further information...

Regards,
Pradeep.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1205
Location: Dublin, Ireland

PostPosted: Tue Jul 07, 2009 5:07 pm
Reply with quote

Would it not be simpler to generate the necessary additional lines of code (using REXX) into a PDS and then, in the Changeman JCL, concatenate the appropriate member to the compiler SYSIN? Staging the Changeman member(s) should then result in clean compile(s) and activation(s).

Garry.
Back to top
View user's profile Send private message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Wed Jul 08, 2009 8:57 am
Reply with quote

Hi Gary,

Thanks for the reply,

Could you please explain your solution in detail...

my requirement is :i have few components already present in changeman package and now i want to update and compile them using a REXX pgm..

Regards,
Pradeep.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1205
Location: Dublin, Ireland

PostPosted: Wed Jul 08, 2009 12:51 pm
Reply with quote

Hi Pradeep,

First, Changeman specifes the program to be compiled in the MEMBER= parameter for the SERCOPY step. This member name is also referenced in dataset (PDS) references throughout the JCL.

In Changeman's CMNWRITE step, the program and its copybooks are expanded prior to compile. This output from the step passed to the compiler is in the SYSOFILE.

If you have a PDS with the additional lines you want to add at the end of the source, you could concatenate that PDS, with membername, after the SYSOFILE dataset where it is input to the compile step.

You might have to check how Changeman skeletons are applying the member name to the various dataset references so you can piggyback on that.

Regards,
Garry.
Back to top
View user's profile Send private message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Wed Jul 08, 2009 2:19 pm
Reply with quote

Hi Gary,

Thank you so much for the reply,

I will check this out and let you know..

Thanks & Regards,
Pradeep.
Back to top
View user's profile Send private message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Mon Jul 13, 2009 3:24 pm
Reply with quote

Hi Gary,

I tried this out with 'PGM=CMNVSRVC' which is recompiling multiple components with one job..

could you please let me know which changeman pgm is used to edit and compile the components in cmn package.

Please let me know for any furhter informantion.

Regards,
Pradeep
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Mon Jul 13, 2009 4:05 pm
Reply with quote

IEWL?
Back to top
View user's profile Send private message
sampellypradeep

New User


Joined: 02 Jul 2009
Posts: 7
Location: hyderabad

PostPosted: Tue Jul 14, 2009 11:51 am
Reply with quote

I dont think this is the changeman pgm used to edit and compile...i think it starts with 'CMN...

IEWL is a link-editor and it link-edits the OBJ to create a load module.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Jul 14, 2009 1:06 pm
Reply with quote

Well -- please compile some program normally thoriugh change man i.e. without the intervention of "REXX tool". THen, have a look on the JCL generated in back end. You'll find what is used for what at different stages of staging/compilation.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Read a flat file and update DB2 table JCL & VSAM 2
No new posts how to update an ISR appl var from an... TSO/ISPF 8
No new posts Rebind issue - Package DB2 2
No new posts DB2 SQL query to read and update data... DB2 12
Search our Forums:

Back to Top