in Machine Learning by
Q:
REF parameter in TPFDF commands?

▼ Show 1 Answer

0 votes
by

Specifies the Field in the LREC to be compared with the search argument specified with the "S=" Subparameter ,  The argument must be a valid LREC Field of the REF= DSECT

 

This argument results in generating the Target part of the Assembler instruction generated in base displacement format , Displacement can be decided at run time using the D/Label , Where label is either a Difference of two labels or a decimal displacement within the LREC

 

EXAMPLE :

 

DBRED REF=TRABSQ,UP,KEY1=(R=TRABKEY,S=X'80'),

      KEY2=(R=TRABAWB,S=MI0ACC+10)

DBRED REF=TRABSQ,UP,KEY1=(R=TRABKEY,S=X'80'),

      KEY2=(R=D/TRABAWB-TRABKEY,S=MI0ACC+10)

DBRED REF=TRABSQ,UP,KEY1=(R=TRABKEY,S=X'80'),

      KEY2=(R=D/3,S=MI0ACC+10)

 

Learn More with Madanswer

Related questions

+1 vote
asked May 29, 2019 in Machine Learning by param1987
...