I am a newbie in Adabas. I have downloaded adabas 6.1.8 community edition. According to the documentation, adabas can be accessed by the way of direct call from PL/I, but I did not find any useful examples for this case.
Could you kindly help me to figure it out?
the steps to perform Database query commands (S1/S4, S2, S5))
(command environment?)
the example of direct call access adabas from PL/I
Thanks for downloading Adabas. Since it is not quite common to use PL/I
on these platforms we have examples for PL/I and Cobol in the Adabas
version 8.2.1 documentation (Command References).
Please have a look there or download it.
I found the PLI-ADABAS example according to your direction, but I meet a problem when I try the first example (Example 1).
Could you kindly have a look the following problem?
The souce code has attached to this reply.
The accessAdabas.OBJ has been generated successfully.
When I do the action of linking the .object + .ddl to .exe application,
—ilink accessAdabas.OBJ adalnks.lib adalnk32.lib adalnknc.lib
The complier throw the exception:
—error LNK2029: “?ADABAS”: unresolved external
—There was 1 error detected
In general, the command reference shows you for each command which fields of the Adabas Control block needs to be filled and where you get information back.
If you have access to Natural; logon to SYSEXT. Type menu, then scroll down to USR1043. Look at the program to use this USR. It has an excellent description of making a direct call to Adabas.