After the global parameter settings have been read with IEDTGET
, EDT saves the
information in the EDTPARG
control block.
Creating the EDTPARG control block
The Assembler macro IEDTPARG
is used to generate the EDTPARG
control block.
Name | Operation | Operands |
[name] | IEDTPARG | [ { D | C } ] [,prefix] [,VERSION= { 1 | 2 } ] |
name | – Symbolic name of the first – If name is not specified then specified). |
D C | A dummy section ( A memory section with symbolic addresses is generated (no statement). |
prefix | One character with which the generated field names should start. If prefix is not specified, E is used by default. |
VERSION | Selects which version of the control block is to be generated: Version 1 is used with the V16 format of the interface. Version 2 is used with the V17 format of the interface. |
If the macro IEDTPARG VERSION=2
is specified then the EDTPARG
control block is
generated in the following form:
IEDTPARG D,VERSION=2 1 EDTPARG MFPRE DNAME=EDT,MF=D 2 EDTPARG DSECT , 2 *,##### PREFIX=I, MACID= ##### 1 *--------------- EDT UNIT NUMBER, EDTPARL VERSION NUMBER -------------- 1 EPGUNITC EQU 66 EDT UNIT NUMBER 1 EPGVERSC EQU 2 EDTPARG VERSION NUMBER 1 *--------------- CONTROL BLOCK EDTPARL -------------------------------- 1 * *---- CONTROL BLOCK HEADER -------------------- 1 EPGFHE DS 0XL8 GENERAL OPERAND LIST HEADER 1 EPGIFID DS 0A INTERFACE IDENTIFIER 1 EPGUNIT DC AL2(XPGUNITC) UNIT NUMBER 1 DS AL1 RESERVED 1 EPGVERS DC AL1(XPGVERSC) FUNCTION INTERFACE VERSION NUMBER 1 DS A RESERVED 1 * *---- OUTPUT FIELDS --------------------------- 1 EPGMODE DS CL1 EDT-MODE (F/L/C) 1 EPG@SYM DS CL1 EDT-STATEMENT-SYMBOL 1 EPGWDS1 DS H SIZE OF WINDOW 1 1 EPGWDS2 DS H SIZE OF WINDOW 2 1 EPGFILE1 DS CL8 WORKFILE IN WINDOW 1 1 EPGFILE2 DS CL8 WORKFILE IN WINDOW 2 1 DS XL10 RESERVED 1 *--------------- TOTAL LENGTH OF CONTROL BLOCK ------------------------ 1 EPGPARGL EQU *-EDTPARG
Meaning of the control block fields | Length | Format | Parameter type | ||
Call | Return | ||||
| Unique identification of EDT. | 2 | X | C(M) | |
| Control block version number. | 1 | X | C(M) | |
| Current mode:
which is processed via the
| 1 | P | R | |
| EDT statement symbol | 1 | P | R | |
| Window size 1 ( | 2 | R | ||
| Window size 2 ( | 2 | R | ||
| Work file in first window ( with blanks | 8 | P | R | |
| Work file in second window ( with blanks | 8 | P | R |
| Call parameter | Must be supplied by the caller. This is set by the macro (when the and should not be changed by the user. |
| Return parameter Binary format Printable | Supplied by EDT. Binary digits Printable texts (in the character set |
Changes compared to the V16 format
The EPGCCSN
field is no longer used (it now has the name EPLCCSN
in the control block EDTPARL
). When the IEDTGET (PARG)
interface is called, it is no longer necessary to enter a value in the EAMPREC
field in AMCB
.
When EDT V17.0A is called in Unicode mode with a version 1 EDTPARG
control block, the EPGCCSN
field is only set to a value other than blank if the same character set has been specified for all non-empty work files.
Compatible V17 format
No restrictions.