SYSTEM – API CMD Processor

SYSTEM – API CMD Processor

system() is a runtime C library function that performs the same purpose as the QCMDEXC API. With system() you pass a pointer to the command string and it is executed, no need for the for the command string length. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115/If Defined(*Crtbndrpg) H Dftactgrp(*No) /Endif H

Caller – The Detail(s)

Caller – The Detail(s)

Caller_CP – This procedure returns the name of the previous program.  If called from command line would be – RETURNPROGRAM = ‘QUOMAIN ‘ 123* CALLER_CP – run previous program name d ReturnPreviousProgramName… d pr 10 Caller 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899H NOMAIN EXPROPTS(*RESDECPOS) *