EXIT
Richard Kreiss
rkreiss at gccconsulting.net
Sat Mar 7 08:15:05 PST 2015
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Friday, March 06, 2015 4:37 PM
> To: Richard Kreiss; filepro-list at lists.celestial.com
> Subject: Re: EXIT
>
> On 3/6/2015 4:27 PM, Richard Kreiss wrote:
> > If a system call is done to another clerk session to add a new record
> > and that session is cancelled, program going to a delete routine, if
> > EXIT NN is reached, is there any way for the origination program to get this
> exit code?
>
> Use the new SYSTEM() function in 5.6 instead, as it returns the exit value.
Ken,
Since I will do a system call to run *clerk in another filePro file, what would be the exit code if the new record entry were cancelled and an exit issued.
sy="dclerk cstrack -s1 -xa -z enter -d -lx -rw market"<"-rx"<patient_code<"-ry"<Master_Code<"-r"<"Y"<"-rz"<cn
s=system(sy)
What value of s would I expect?
If I used exit N, would s be that value?
Richard Kreiss
More information about the Filepro-list
mailing list