AS400 – Command

1,215 pts.
Tags:
AS/400 commands
Hi, How is STRPCCMD is working? I wanted to know the internal logic of this Command? How its getting connected with PC Commands etc.,

 

 



Software/Hardware used:
AS400
ASKED: November 10, 2011  5:33 AM
UPDATED: March 17, 2012  6:56 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

The Start PC Command (STRPCCMD) command allows you to run a single application, a DOS command, or an OS/2 command on an attached personal computer.

The Start Client Access Organizer (STRPCO) command starts the Client Access Organizer on the host system.

Note: The STRPCO CL command must be issued before running the STRPCCMD CL command.

Find the sample code below.

<pre> DCL VAR(&CMD) TYPE(*CHAR) LEN(500)
CHGVAR VAR(&CMD) VALUE(‘START ‘ || +
‘http://www.google.co.in’)
STRPCO PCTA(*NO)
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD(&CMD) PAUSE(*NO) </pre>

Pradeep.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I wanted to know the internal logic of this Command? You will need to contact IBM to get an answer for that. Most likely, IBM will refuse to answer. Tom
    125,585 pointsBadges:
    report
  • rajeshece
    [...] Rajeshece asks about how an AS/400 operation actually operates, and members provide some [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following