User Tools

Site Tools


ibm:vm370-lib:cms:dmslaf.assemble_abs

Table of Contents

DMSLAF Abstract

Statistics

Type ASSEMBLE
Source Lines : 592
Fixes Applied : 0
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [Unmodified]

Synopsis

Module

       DMSLAF

Function

       FIND  THE ACTIVE  FILE  TABLE  BLOCK WHOSE  FILENAME,
       FILETYPE,  AND MODE  MATCH THE  ONE  SUPPLIED BY  THE
       CALLER.

Attributes

     NUCLEUS RESIDENT, RE-ENTRANT

Operation

       IF R0=0 AT ENTRY, DMSLAF  STARTS SEARCHING THE ACTIVE
       FILE TABLE AT THE FIRST BLOCK (AT  FVSAFT).  IF
       R0=NONZERO AT ENTRY,  THE GIVEN VALUE IN  R0 IS TAKEN
       AS  THE  ADDRESS  OF  THE   PRESENT  AFT  BLOCK,  AND
       SEARCHING  COMMENCES WITH  THE NEXT  BLOCK (IF  ANY).
       (THIS FEATURE FACILITATES SEARCHING FOR MORE THAN ONE
       MATCHING FILE BY THE CALLING FUNCTION.)

       DMSLAF EXAMINES EACH  BLOCK IN THE ACTIVE  FILE TABLE
       FOR A   FILENAME,  FILETYPE,  AND  FILEMODE
       MATCHING THOSE IN  THE PARAMETER LIST.  IF  THE GIVEN
       FILENAME AND/OR FILETYPE WAS SPECIFIED  AS '*' IN THE
       PARAMETER  LIST,  A MATCHING  FILENAME  OR  FILETYPE,
       RESPECTIVELY, IS ASSUMED.  IF  THE MODE WAS SPECIFIED
       AS EITHER '*', BINARY 0, BLANK (X'40'), OR X'FF', THE
       MODE  IS ASSUMED  CORRECT.  IF  NOT,  THE GIVEN  MODE
       LETTER MUST EQUAL  THE MODE IN THE  ACTIVE FILE TABLE
       BLOCK FOR A MATCH.  (IT IS NOT NECESSARY TO CHECK THE
       MODE NUMBER.)

       EXIT CONDITIONS ARE RETURNED AS SPECIFIED ABOVE, WITH
       THE ADDRESS OF  THE MATCHING BLOCK (IF  ANY) RETURNED
       IN  R1.   THE  CONDITION-CODE IS  SET  PER  R15,  FOR
       CONVENIENCE OF THE CALLER.

Calls to Other Routines

       NONE
ibm/vm370-lib/cms/dmslaf.assemble_abs.txt ยท Last modified: 2023/08/06 13:35 by Site Administrator