RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library - Command Procedures: sysCommand()


Simple Wrapper for QCMDEXC.

Note that both parameters are defined in the /copy member, so you can simply use them as variables. There is also no need to calculate the length of the command string based on its definition. You should get in the habit of checking for errors after issuing sysCommand or using callp(e) to prevent runtime errors.

Usage:

sysCommand( QcmdCmd : QcmdLength );

Name Type Options Opt/Req Description
QcmdCmd 3000 Const Req The command string to execute.
QcmdLength 15,5 Const Req The length of the command string parameter.
Returns: n/a n/a n/a n/a

This site conforms with the following W3C specifications:

Web Essentials

Contact