|
Stumped on this the first time:
DCL VAR(&DACHAR) TYPE(*CHAR) LEN(90) /* text from LCP972DA */
DCL VAR(&ENDHH) TYPE(*CHAR) STG(*DEFINED) LEN(02) DEFVAR(&DACHAR 01)
/*End Hour, 24 hour fmt */
DCL VAR(&ENDMM) TYPE(*CHAR) STG(*DEFINED) LEN(02) DEFVAR(&DACHAR 04)
/*End Minute, 00-59 */
DCL VAR(&WAITSEC) TYPE(*CHAR) STG(*DEFINED) LEN(03) DEFVAR(&DACHAR 41)
/*Wait Seconds, 000-999 */
DCL VAR(&ENDJOB) TYPE(*CHAR) STG(*DEFINED) LEN(03) DEFVAR(&DACHAR 85)
/* END = End Job */
RTVDTAARA DTAARA(LCP972DA (1 90)) RTNVAR(&DAchar)
I was able to EVAL each VAR and see its value, except for EVAL &ENDJOB,
which raised CPF7E56 . . . ???
Finally I added an extra variable like so:
DCL VAR(&DACHAR) TYPE(*CHAR) LEN(90) /* text from LCP972DA */
DCL VAR(&ENDHH) TYPE(*CHAR) STG(*DEFINED) LEN(02) DEFVAR(&DACHAR 01)
/*End Hour, 24 hour fmt */
DCL VAR(&ENDMM) TYPE(*CHAR) STG(*DEFINED) LEN(02) DEFVAR(&DACHAR 04)
/*End Minute, 00-59 */
DCL VAR(&WAITSEC) TYPE(*CHAR) STG(*DEFINED) LEN(03) DEFVAR(&DACHAR 41)
/*Wait Seconds, 000-999 */
DCL VAR(&ENDJOB) TYPE(*CHAR) STG(*DEFINED) LEN(03) DEFVAR(&DACHAR 85)
/* END = End Job */
DCL VAR(&LASTCH) TYPE(*CHAR) STG(*DEFINED) LEN(01) DEFVAR(&DACHAR 89)
/* extra, not used */
Problem solved ?
I can now EVAL each VAR and see the value, except for EVAL &LASTCH, which
raises CPF7E56 . . .
but I don't need &LASTCH
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.