On 10/6/2010 10:47 AM, David FOXWELL wrote:
Buck, as u never drag and drop, any chance of you copying and pasting such a command to us? :-)
My current employer has only one LPAR on a single System i. I left my
intersystem tool with my last employer, so I don't have a copy/paste
solution for you.
What I'd do now is to create a wrapper command over a generic
socket-based utility like Scott Klement's FTPAPI. Create a command like
SNDSRC and make sure it works from the command line, then write a couple
of RDp user commands that wrapper that.
For instance, you can have SendToRohan which might look like this:
<Action Collect="False" Enable="True" Name="SendToRohan" Prompt="False"
Refresh="False" RunEnv="normal" SingleSelection="False">
<FileTypes> ALL</FileTypes>
<Comment>Send source member to QA</Comment>
<Command>SEND ?*FROMFILE(&L/&F) ??TOFILE(TESTING/&F) FROMMBR(&N)
??TOMBR(&N) TOSYSTEM(ROHAN) USER(DF) PASSWORD()</Command>
</Action>
Then you might have a different user command named SendToIsengard that
looks like this:
<Action Collect="False" Enable="True" Name="SendToIsengard"
Prompt="False" Refresh="False" RunEnv="normal" SingleSelection="False">
<FileTypes> ALL</FileTypes>
<Comment>Send source member to production</Comment>
<Command>SEND ?*FROMFILE(&L/&F) ??TOFILE(LIVE/&F) FROMMBR(&N)
??TOMBR(&N) TOSYSTEM(ISENGARD) USER(DF) PASSWORD()</Command>
</Action>
Personally, if I were doing this today, I'd add a full fledged sockets
client on the far end. A client that will execute a limited set of
commands that you want or need. Things like
Compile RPG
Trigger change management moves
Send a message to the operator
The point is that with a full two-way communications link you can send
the source over, compile it and let the QA team know they need to get
cracking, all in one go.
I did a copy/paste from my user commands XML file. It is located in
..\workspace\RemoteSystemsConnections\BUCK\UserActions\ibm.files400\uda.xml
You probably don't want to edit that directly, but you could use the
GUI to create the first command and then edit it to make all the copies
you need for your multiple LPAR site.
--buck
As an Amazon Associate we earn from qualifying purchases.