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
 

 

Update & activate components of changeman package thru R

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Update & activate components of changeman package thru R
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

Site Director


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

PostPosted: Mon Jul 06, 2009 9:54 am    Post subject:
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    Post subject: Reply to: updating&compiling a component in changeman th
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

Senior Member


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

PostPosted: Mon Jul 06, 2009 11:12 am    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Jul 07, 2009 5:07 pm    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Jul 08, 2009 12:51 pm    Post subject:
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    Post subject: Reply to: Update & activate components of changeman pack
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    Post subject:
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

Senior Member


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

PostPosted: Mon Jul 13, 2009 4:05 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Jul 14, 2009 1:06 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts 2 vsam file compare and update a fiel... ABINAYATHULASI DFSORT/ICETOOL 6 Sun May 29, 2016 11:15 am


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