+1 vote
35 views
in Machine Learning by (93 points)

What is FACE? How do you access FACE table?

1 Answer

0 votes
by (359 points)

FACE & FACS are system programs that are used to calculate the SON address of a fixed file record.

Takes as input Decimal Record type and Ordinal Number; looks up into the FACE table for the corresponding SON address.

FACS serves the same purpose as FACE

FACS unlike FACE can calculate the SON file address with a symbolic record type and Ordinal Number

Interface :

Application Programs enter the utility Program FACE by issuing the macro call -   ENTRC FACE.

FACS is preferred over FACE.

The following is the set-up required  before calling FACE

R6 Contains the Hexadecimal Record type 

R0 Contains the Ordinal Number

R7 Address of an 8-byte field where the system file reference is to be placed.  Normally, the location of FARW  because the address must be  there before the find or file function can be called. 

Example of FACS usage

LA    R0,0          Load ordinal number

LA    R6,=CL8'#IGTSTRN'  Symbolic record type

LA    R7,CE1FA7          Load address of FARW

ENTRC FACS     Call FACS

LTR   R0,R0              Test for Error return

BZ    EXCEPT             Branch to error return

Before Call to FACE/FACS 

FARW :      

Before call to FACE/FACS

Related questions

+1 vote
22 views
asked May 14, 2019 in Machine Learning by Derya (93 points)
0 votes
31 views
+1 vote
39 views
asked May 14, 2019 in Machine Learning by Derya (93 points)
+1 vote
48 views
+1 vote
36 views
+1 vote
37 views
asked May 29, 2019 in Machine Learning by param1987 (47 points)
...