.MACRO DSDDEF,DEV,UIC,FNAM, ; This macro defines a data-set descriptor for ; ; FCS. The arguments are: ; ; DEV - Label to associate with the device name ; ; buffer ; ; UIC - Label to associate with the UIC name ; ; buffer. ; ; FNAM - Label to associate with the File name ; ; buffer. ; ; The following arguments are optional. They are ; ; used only to initialize the above three buffers ; ; with ASCII strings. ; ; The dataset descriptor table will be updated according ; ; to these values. ; ; Note : the maximum length of all labels must be ; ; 5 characters due to MACRO-11's six character ; ; name and label restriction. This macro uses ; ; the specified names to generate length labels ; ; as required. ; .IF B DEV ..PC1=. .WORD 0,0 ; Device entry ; .IFF ..PC1=. .WORD 0,DEV ; Device entry ; .ENDC .IF B UIC ..PC2=. .WORD 0,0 ; UIC entry ; .IFF ..PC2=. .WORD 0,UIC ; UIC entry ; .ENDC .IF B FNAM ..PC3=. .WORD 0,0 ; File name entry ; .IFF ..PC3=. .WORD 0,FNAM ; File name entry ; .ENDC ..NARG=0 .IRP x, ..NARG=..NARG+1 .ENDR .ENDM DSDDEF