Logic and Functions of STRPCCMD Command

Asked By 0 points N/A Posted on -
qa-featured

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?

SHARE
Answered By 10 points N/A #105656

Logic and Functions of STRPCCMD Command

qa-featured

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

 

Related Questions