Col 1 ▼ power-keyword power-JECL-options

Columns 1 and 2 are not used.
Power-keyword, coded in columns 3 through 5, requires a LST or PUN keyword, as appropriate.
Column 6 is a space.
Power-JECL-options, coded in columns 7 through 68, specifies VSE/POWER options required for the run. (Refer to VSE/POWER publications.)
Comments, coded in columns 69 through 80, are optional.
Example 1—Calling CULEPWR from an Assembler Routine
Reading JECL Information from a Card
.
.
.
CALL CULEPWR,(CTLSW) CALL TO CULEPWR
CLI CTLSW,X'F0' CHECK RETURN CODE
BNE ERROR ERROR WAS NOTED
.
.
.
CTLSW DS CLI'R' JECL VIA CARD
Passing JECL Information Via the Call
.
.
.
CALL CULEPWR,(CTLSW,JECL) CALL TO CULEPWR
CLI CTLSW,X'F0' CHECK RETURN CODE
BNE ERROR ERROR WAS NOTED
.
.
.
CTLSW DS CLI'C' JECL VIA CALL
JECL DS CL66'LST FNO=ACB,DISP=H,PRI=1'
Example 2—Calling CULEPWR from a COBOL Module
Reading JECL Information from a Card
WORKING-STORAGE SECTION.
01 CULEPWR-CALL.
05 CONTROL-SWR PIC X(1) VALUE 'R'.
05 CONTROL-SWC PIC X(1) VALUE 'C'.
05 JECL-INFO.
10 JECL PIC X(24)
VALUE 'LST FNO=ACB,DISP=H,PRI=1'.
10 FILLER PIC X(42) VALUE SPACES.
PROCEDURE DIVISION.
.
.
.
CULEPWR-READING-JECL-CARD.
CALL CULEPWR USING CONTROL-SWR.
IF CONTROL-SWR NOT EQUAL TO '0'
GO TO CULEPWR-ERROR.
.
.
.
CULEPWR-JECL-VIA-CALL.
CALL CULEPWR USING CONTROL-SWC JECL INFOR.
IF CONTROL-SWC NOT EQUAL TO '0'
GO TO CULEPWR-ERROR.
|
Copyright © 2014 CA.
All rights reserved.
|
|