• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Machine Learning by
Q:

TPFDF Macros : Read an LREC  -- DBRED

1 Answer

0 votes
by

The DBRED command reads an LREC From an opened Subfile , The pointer to the LREC is loaded in the specified register coded using the REG= parameter also known as the current LREC , If LREC is not found till end of Subfile READ sets a LREC not found indicator in SW00RTN byte , After reading the LREC Fields in the LREC Can be accessed using DSECT Labels , Subsequent DBRED will start reading from Current LREC.

Mandatory Parameters for DBRED

REF= | FILE=  (or both)

Optional Parameters for DBRED

REG=

ALG= | ORD = | FADDR =

UP|DOWN|NOORG

KEYn(R=,S=|D=|M=,L=,C=.UP|DOWN|NOORG) (n=1..6)

LRECNBR

NOKEY

ERROR | ERRORA

 

Related questions

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