× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi *ALL,

the following CL start, restart, hold or end U-Jobs:

PGM        PARM(&PARM)
DCL        VAR(&PARM) TYPE(*CHAR) LEN(20)
DCL        VAR(&ENVDES) TYPE(*CHAR) LEN(2)
DCL        VAR(&UJKEY) TYPE(*CHAR) LEN(10)
DCL        VAR(&REQST) TYPE(*CHAR) LEN(8)
DCL        VAR(&LDA) TYPE(*CHAR) LEN(1024)
DCL        VAR(&RTCD) TYPE(*CHAR) LEN(8)
CHGVAR     VAR(%SST(&ENVDES 1 2)) VALUE(%SST(&PARM 1 2))
CHGVAR     VAR(%SST(&UJKEY 1 10)) VALUE(%SST(&PARM 3 12))
CHGVAR     VAR(%SST(&REQST 1 8)) VALUE(%SST(&PARM 13 8))
ADDLIBLE LIB(AMALIBx) <== needed,if STRMAPICS not available in QGPL
MONMSG     MSGID(CPF0000)
STRMAPICS  ENDS(&ENVDES)
MONMSG     MSGID(CPF0000 AMZ0000)
CHGVAR     VAR(&LDA) VALUE(' ')
CHGVAR     VAR(&RTCD) VALUE(' ')
CALL       PGM(AXZLDA0R) PARM('*CURR' 00000 '*LAST' 000 +
             &LDA '*RTV' &RTCD)
CHGVAR     VAR(%SST(&LDA 204 1)) VALUE(%SST(&ENVDES 1 1))
CHGVAR     VAR(%SST(&LDA 205 1)) VALUE(%SST(&ENVDES 2 1))
CALL       PGM(AXZSR) PARM(&LDA &UJKEY &REQST)
ENDMAPICS

Sample for calling:

call cntrlujobs parm('XYAMJUC     *END')
Parameter  1-2   Environment (here XY)
           3-12  UJOB-Name (see CAS, here AMJUC)
           13-20 *START, *END, *RESTART oder *HOLD


Mit freundlichen Grüßen/Best regards

Michael J. Raber

------------------------------------
Dipl. Ing. Michael J. Raber
I.B.K. GmbH
Villar-Perosa-Straße 10
75038 Oberderdingen-Großvillars
Tel.: +49 7045 2006880
Mobil: +49 172 9072148


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.