SETLL/Read previous (RPG)

 1 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
BobP
Basic Member
Posts: 5
Basic Member
    In Lawson speak, could someone please tell me what would be Lawson's equivalent to SETLL/READP?
    Thanks,
    bob
    PBL
    Basic Member
    Posts: 9
    Basic Member
      You need to use Lawson's database input/output routines. The following is the code I've used to do a "chain". There are other parameters for Next, Prev, etc.

      C EVAL D@CMPNY = VPAAPL@CMPNY
      C EVAL D@RQSTN = PPA531#RQSTN
      C CALLP DN@DBPAPJR1(E@DBLOCKEQ)

      Lawson has all of this documented in the Doc for Developers: Lawson RPG Application Program Interfaces.