'PANEL SEND SIGNON' CLR_INP_FIELDS PATH_NAME ,
'CURSOR(' CURS_NAME ')' ATTR_STRING
IF RC > 4 THEN
/* more than a warning */
SIGNAL ERROR
/* clean up and exit */
'PANEL RECEIVE SIGNON '
IF RC > 4 THEN
SIGNAL ERROR
/* clean up and exit */
ITERATE
/* redisplay panel */
CLR_INP_FIELDS = ''
/* display input fields with variable values */
IF &lnot;SEARCH(ACCOUNT_NUM) THEN
/* search for account number */
DO;
MESSAGE = ' Account Number not found, Please re-ENTER Number'
CURS_NAME = 'ACCOUNT_NUM'
/* put cursor in ACCOUNT field */
ATTR_STRING = 'ATTR( ACCOUNT_NUM REV)'
ITERATE
END;
DO;
MESSAGE = ' PIN Number is incorrect, Please check to see your',
'Account Number is correct and re-ENTER your PIN';
CURS_NAME = 'PIN';
ATTR_STRING = 'ATTR( PIN REV)';
ITERATE ; /* display the panel again */
END;
LEAVE ;
END ; /* forever */
DISP_DATE = DATE('U');
/* set to display current date */
MSG.1 = 'Be sure cursor is in the first column!';
MSG.2 = 'Press ENTER or and PF key to continue.';
SALUTATION = 'Hi' WORD(ACCOUNT.ACCOUNT_NUM,5) ,
WORD(ACCOUNT.ACCOUNT_NUM,4) ||,
', How may we be a service to you?';
PAN.CNAM = '';
'PANEL SEND SERVICE CURSOR(SERVICE.1)' PATH_NAME
IF RC > 4 THEN
SIGNAL ERROR; /* clean up and exit */
'PANEL RECEIVE SERVICE'
IF RC > 4 THEN
SIGNAL ERROR; /* clean up and exit */
SALUTATION = '';
/* greeting only once */
WHEN PAN.CNAM = 'SERVICE.1' THEN
CALL ITEMIZE_ROUTINE;
WHEN PAN.CNAM = 'SERVICE.2' THEN
CALL NON_ITEMIZE_ROUTINE;
WHEN PAN.CNAM = 'SERVICE.3' THEN
CALL QUERY_RET_ROUTINE;
WHEN PAN.CNAM = 'SERVICE.4' THEN
CALL CAL;
WHEN PAN.CNAM = 'SERVICE.5' THEN
CALL EXIT_ROUTINE;
DO;
'PANEL SEND MSGBOX2 POS(7 10) NOERASE' PATH_NAME
IF RC > 4 THEN
SIGNAL ERROR;
'PANEL RECEIVE MSGBOX2'
IF RC > 4 THEN
SIGNAL ERROR;
END;
Panel Facility
Chapter 24. REXX/CICS Panel Facility
313
Содержание SC34-5764-01
Страница 1: ...CICS Transaction Server for VSE ESA REXX Guide SC34 5764 01...
Страница 2: ......
Страница 3: ...CICS Transaction Server for VSE ESA REXX Guide SC34 5764 01...
Страница 22: ...xx CICS TS for VSE ESA REXX Guide...
Страница 23: ...Part 1 User s Guide Copyright IBM Corp 1992 2009 1...
Страница 24: ...2 CICS TS for VSE ESA REXX Guide...
Страница 40: ...18 CICS TS for VSE ESA REXX Guide...
Страница 54: ...Using Variables and Expressions 32 CICS TS for VSE ESA REXX Guide...
Страница 106: ...84 CICS TS for VSE ESA REXX Guide...
Страница 110: ...88 CICS TS for VSE ESA REXX Guide...
Страница 122: ...100 CICS TS for VSE ESA REXX Guide...
Страница 123: ...Part 2 Reference Copyright IBM Corp 1992 2009 101...
Страница 124: ...102 CICS TS for VSE ESA REXX Guide...
Страница 130: ...Introduction 108 CICS TS for VSE ESA REXX Guide...
Страница 152: ...REXX General Concepts 130 CICS TS for VSE ESA REXX Guide...
Страница 224: ...Functions 202 CICS TS for VSE ESA REXX Guide...
Страница 252: ...230 CICS TS for VSE ESA REXX Guide...
Страница 278: ...256 CICS TS for VSE ESA REXX Guide...
Страница 312: ...DB2 Interface 290 CICS TS for VSE ESA REXX Guide...
Страница 316: ...High level Client Server Support 294 CICS TS for VSE ESA REXX Guide...
Страница 340: ...318 CICS TS for VSE ESA REXX Guide...
Страница 344: ...for execs Commands 322 CICS TS for VSE ESA REXX Guide...
Страница 399: ...Part 3 Appendixes Copyright IBM Corp 1992 2009 377...
Страница 400: ...378 CICS TS for VSE ESA REXX Guide...
Страница 438: ...416 CICS TS for VSE ESA REXX Guide...
Страница 442: ...System Definition Customization Administration 420 CICS TS for VSE ESA REXX Guide...
Страница 446: ...Security 424 CICS TS for VSE ESA REXX Guide...
Страница 448: ...426 CICS TS for VSE ESA REXX Guide...
Страница 464: ...442 CICS TS for VSE ESA REXX Guide...
Страница 466: ...444 CICS TS for VSE ESA REXX Guide...
Страница 468: ...446 CICS TS for VSE ESA REXX Guide...
Страница 476: ...454 CICS TS for VSE ESA REXX Guide...
Страница 478: ...456 CICS TS for VSE ESA REXX Guide...
Страница 479: ......
Страница 480: ...SC34 5764 01...
Страница 481: ...Spine information CICS TS for VSE ESA REXX Guide...