View previous topic :: View next topic
|
Author |
Message |
Hunny Sachdeva
New User
Joined: 11 Jun 2009 Posts: 20 Location: india
|
|
|
|
Hi,
If a same command but with different parameters is specified both in IEACMD00 and COMMNDxx members, will both be executed?
Which one will be executed first? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Is it really that hard to find the MVS Iniitialization and Tuning Reference manual for your system? Is it really that hard to actually read the manual yourself?
The manual does say
Quote: |
An installation that uses the optional COMMNDxx parmlib member should check for commands in COMMNDxx that conflict with commands in IEACMD00, and resolve any conflicts. |
In other words, if you have conflicts your system may or may not IPL, depending upon the conflicts. Also note from the manual:
Quote: |
The order in which task-creating commands appear in IEACMD00 does NOT guarantee the order in which they are executed. Thus, IEACMD00 should not be used for commands that must be executed in a specific order. |
So the order of execution may not be the order they appear in the member.
From looking at my sandbox system, IEACMD00 is accessed immediately before the COMMNDxx member, but I suspect the order of command execution depends upon the commands just as it says in the manual. |
|
Back to top |
|
|
Hunny Sachdeva
New User
Joined: 11 Jun 2009 Posts: 20 Location: india
|
|
|
|
Well thanks Robert..
i asked this question while i was reading the above mentioned manual and wanted to know the practical approach...
as per order i wanted to know in case of conflict which will be executed one from IEACMD or COMMND... |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
They'll both be executed; I believe the order would be IEACMD first and then COMMND but I'm not going to risk my sandbox system by testing this.
Practically, as the manual says, reserve IEACMD00 for the IBM supplied initialization commands and use COMMNDxx for your site specific commands. That way there won't be any conflicts and you don't really care which executes first since there's only one version of each command.
Also, be aware that if you're using Computer Associates software their CAIRIM product also executes system commands during IPL, so it may be a third source of commands for you to consider. |
|
Back to top |
|
|
Hunny Sachdeva
New User
Joined: 11 Jun 2009 Posts: 20 Location: india
|
|
|
|
Thanks indeed Robert..
We have got rid of CA altogether, just for curosity does CAIRIM cuase conflict in that case.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
No, typically the CAIRIM commands are starts for CAI products only. You could put other commands in there but again the site system programmer is responsible for ensuring that there's no conflicts. |
|
Back to top |
|
|
Hunny Sachdeva
New User
Joined: 11 Jun 2009 Posts: 20 Location: india
|
|
|
|
Fine Robert Thanks for the info |
|
Back to top |
|
|
|