Professional Documents
Culture Documents
Ritesh Dubal
Merrill Lynch USA
Agenda for Day 2
5. BMS Macros.
statements.
CICS Command Format
option 1 (argument 1)
option 2 (argument 2)
. . . . . . . . . . . . .
END-EXEC
Basic CICS Commands (1 of 2)
in the system.
Execution the Hello World Program (1 of 2)
Step1: Open an EP Client session for Mainframe, type CICS3 and hit ENTER key.
Enter your User id and Password and press the ENTER Key.
Execution the Hello World Program (1 of 2)
Step 2: You’ll find a blank screen as shown below. Type the transaction-id.
To Sign off, you can use the transaction CESF logoff.
What about JCL for CICS Program?
Assembly Language.
Sample Formatted Screen
3. EXIT
SELECTION : - (1/2/3)
(a) Build the screen, with all the titles and labels in the
proper places on the screen and with proper attributes.
(c) Extract the data for the application program when the
screen is received.
Physical Map and Symbolic Map (2 of 2)
application programs.
BMS Macros
MODE=IN/OUT/INOUT,
LANG=ASM/COBOL/PL1,
STORAGE=AUTO/BASE=name,
CTRL=(PRINT,FREEKB,ALARM,FRSET),
MAPATTS=(COLOR,HIGHLIGHT,.......),
TERM=terminal type,
HIGHLIGHT=OFF/BLINK/REVERSE/UNDERLINE,
TIOAPFX=YES/NO
Note: For each parameter, you have to choose one of the options available.
commands later.
DFHMSD Macro – MODE Parameter
MODE=IN/OUT/INOUT
LANG=ASM/COBOL/PL1
generated.
STORAGE=AUTO/BASE=name
1. AUTO: Every map in the mapset has it’s own storage area.
This is ideal for beginners.
TIOAPFX=YES/NO
LINE=Line number,
COLUMN=Column number,
CTRL=(PRINT,FREEKB,ALARM,FRSET),
TIOAPFX=YES/NO
Note: CTRL and TIOAPFX are either coded either at the mapset
-
-
-
-
DFHMSD TYPE=FINAL
END
DFHMDF Macro and its Parameters
MAPATTS=(COLOR,HIGHLIGHT,.......), X
HIGHLIGHT=OFF/BLINK/REVERSE/UNDERLINE
Complete Mapset
MBLXXY DFHMSD TYPE=&SYSPARM, X
CTRL=(FREEKB,FRSET),LANG=COBOL, X
STORAGE=AUTO, TERM=3270, X
MODE=INOUT,TIOAPFX=YES
MAINMAP DFHMDI SIZE=(24,80), X
LINE=01, X
COLUMN=01
DFHMDF POS=(12,19), X
LENGTH=36, X
INITIAL=‘MAIN MENU’, X
ATTRB=(PROT,NORM)
-
-
DFHMSD TYPE=FINAL
END
Modified Data Tag (MDT)
2. For all variable fields where user can enter data, specify
3. For all variable fields where user can not enter data, specify
9. Enclose INTIAL values within quotes. If you need the quote symbol
then type two quotes together. Do the same for & symbol also.
CICS Command for Formatted Input