Asked By
luke barnes
0 points
N/A
Posted on - 11/30/2011
Please describe the internal logic and functioning of the Start PC command or the STRPCCMD. I am using AS/400 and would like to know how it gets connected to other PC commands? Can anyone help me?
Logic and Functions of STRPCCMD Command
Hopefully you are using a CL program when issuing the STRPCCMD command. Just follow the procedure below to solve your problem:
-
First you will need to define a field that is 123 characters long so as to hold your command – do not make it longer for it will cause an error
DCL &CMD *CHAR 123
DCL &VARIABLE *CHAR 25Â
-
You then place your command into that field as shown below:
CHGVAR &CMD VALUE("Start http:\IP addressMy webpage.asp?NSN=" *CAT &VARIABLE *CAT " *NO PAUSE"
-
When you have done that, you will then run the command below:
STRPCCMD &CMD
In case that fails to work then I will refer you to the website to have a look:
Regards
Thompson Locker
Â