Q
Problem solve Get help with specific problems with your technologies, process and projects.

Run command on a PC

One Search400.com member writes, "I want to start a .Wav file from my iSeries. It works with the STRPCCMD but the length of the parameter is limited to 123, which is too small. Are there any alternatives?" PC/Windows connectivity expert Shahar Mor responds.

I want to start a .Wav file from my iSeries. It works with the STRPCCMD but the length of the parameter is limited to 123, which is too small. Are there any alternatives?
Strpccmd is indeed limited in length -- it passes the command string in the 5250 buffer.

Alternatives:

- Start incoming command service and use runrmtcmd on the iSeries. This allows for longer commands and is much more flexible (you can send command to the pc from a batch job for example.)

- Use strpccmd but run a batch file. The batch file (located on the PC or any network drive) can receive shorter parameters and to operate within the 128 length barrier.

This was last published in January 2006

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close