Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Multiple entries for same program in PPT

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

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Nov 11, 2009 7:35 pm    Post subject: Multiple entries for same program in PPT
Reply with quote

Hi All,

Is it possible in CICS that a program can be referred by more than one name...

Say I have a program - PGMA. If my programs have statements like
LINK PGMA1
LINK PGMA2
LINK PGMA3
I would like all PGMA1, PGMA2, PGMA3 to execute the PGMA program..

My initial thought was the same can be defined in PPT with the above mentioned details. But I couldnt find any reference to this...

Need confirmation whether this can be done in PPT. Or would be glad to receive some suggestions on how to go by it...
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 11, 2009 7:50 pm    Post subject:
Reply with quote

A PPT entry represents a load module in the DFHRPL. You would either need to compile multiple versions of PGMA with different names or use ALIASes during your linkage edit / bind step.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Nov 11, 2009 8:27 pm    Post subject:
Reply with quote

Hi Robert,
Thanks for the suggestions... icon_smile.gif

Quote:
You would either need to compile multiple versions of PGMA with different names
I was afraid of this... icon_razz.gif

Quote:
use ALIASes during your linkage edit / bind step
Have not used the ALIASES option so not sure on this.. Tried to get the info but so far have failed.. Could i know where i could the information on the ALIASES option...

Also... am not sure if this will effect or change anything.. but forgot to mention my programs are in Assembler... icon_cool.gif
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Wed Nov 11, 2009 8:41 pm    Post subject:
Reply with quote

This Link will take you to the manual page that discusses assignment of an ALIAS during the LinkEdit/Bind process.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Nov 11, 2009 8:51 pm    Post subject:
Reply with quote

there are several ways to technically get around this problem,
but you are overlooking, what I consider, a major problem:

how is the next guy going to understand this easily?

short of modifying all the invoking modules LINK statement (as there could be many)
you could modify the PGMa1,...a2,...a3 to immediately invoke PGMA.

that would be easy to follow.

I mention this Binop, since you seem to be the assembler man in your shop, yet do not know about alias........
how would you expect junior members of your staff to see this immediately?

a quick change for you could become a nightmare for someone to follow.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Nov 12, 2009 9:27 am    Post subject:
Reply with quote

Thanks all for the suggestions... icon_smile.gif

@Ronald
Quote:
This Link will take you to the manual page that discusses assignment of an ALIAS during the LinkEdit/Bind process.
I looked into this option and tried understanding it... Guess its a little too much as of now to get into my head.. icon_razz.gif .. will continue looking into it today...
Just for confirming i did see some reference to UNIX.. hope that they are only for the SYM options that are mentioned.. icon_smile.gif


@Dick
Quote:
how is the next guy going to understand this easily?
Currently one idea we are having is to pass the program name by the COMMAREA...
Another thought I could use is to use the option what Bill has suggested in this thread... Need to understand the feasibility..
Quote:
short of modifying all the invoking modules LINK statement (as there could be many)
you could modify the PGMa1,...a2,...a3 to immediately invoke PGMA.
I guess this is a nice suggestion... Will look into the feasibility of this and let u know.. Thanks a lot... icon_biggrin.gif
Quote:
I mention this Binop, since you seem to be the assembler man in your shop, yet do not know about alias........
how would you expect junior members of your staff to see this immediately?
Am flattered !!! icon_razz.gif .. I do not why u thought I am a assembler man... but actually I am pretty new to Assembler (3 - 4 months) and still working my way into it... Its not as easy as other languages... icon_razz.gif
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Nov 12, 2009 6:44 pm    Post subject:
Reply with quote

Hi All,

Quote:
Another thought I could use is to use the option what Bill has suggested in this thread...

Sorry.. mentioned the wrong thread... Please refer to this particular discussion...

Apologize for the confusion... icon_redface.gif
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Fri Nov 20, 2009 10:19 am    Post subject:
Reply with quote

Hi All,

Thanks for all your ideas / clarifications... icon_smile.gif

Posting how we have decided to go by with the issue...

We have decided to go by the tranditional way of changing all the calling programs... and having a indicator in the COMMAREA to represent how the particular program was callled.

Quote:
Quote:
short of modifying all the invoking modules LINK statement (as there could be many)
you could modify the PGMa1,...a2,...a3 to immediately invoke PGMA.
I guess this is a nice suggestion... Will look into the feasibility of this and let u know.. Thanks a lot... icon_biggrin.gif

We discussed this suggestion but thought that might take too much effort. Our initial analysis was showing around 700 occurences of this kind of call which involves around 150 actual programs called by another 250 names.

I am noticing now only that i had not posted the reason as to why we are doing this... Currently in the system, in another environment, the above mentioned programs are called with different names (referred to as vectors here). We are trying to simulate the same in CICS.
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us