How can I determine what version of ASNA DataGate for IBM i, and what its library name is, that my system is using?
ASNA DataGate for IBM i is an IBM i host service that serves IBM i data to ASNA clients such as ASNA Visual RPG, Wings, and Mobile RPG. These instructions show you what version(s) of DataGate are running on your system.
To determine what version of DataGate is currently running on your system:
Step 1. First, use WRKACTJOB and find the DG8SVC jobs. For each instance of DataGate for IBM i, there is one DB8SVC job where the Function column is "CMD-DG8SVC." Two of those jobs are shown in the screenshot below. This indicates there are two separate instances of DataGate running on this IBM i. In most installations there is only one version of DataGate running. If you do see more than one DG8SVC job where the Function column is "CMD-DG8SVC" do steps 2 and 3 for each of those jobs.
If you know what subsystem DataGate is running in you can also use WRKSBSJOB to find the DG8SVC jobs. For example, if DataGate is running from QINTER, this command
lists only the jobs initiated from that subsystem.
Step 2. To show what library your DataGate for IBM i instance resides in, with the DB8SVC job(s) where the Function column is "CMD-DG8SVC," use option 5 to with the job and then select option 10 to display its job log. This shows the library from which the DG8SVC job was launched (as shown below).
Figure 2. Show the library from which the DG8SVC job was launched.
By default, a DataGate library is named DG8_xxx where xxx = is the DataGate version number. However, some customers rename that library while installing DataGate so rather than assuming what the DataGate library is, it's better to use this Step 2 to know for sure what it is.
Step 3. Knowing DataGate's library name, display the DataGate version with
DSPDTAARA <DG Library Name>/RELDATE
Figure 3. The DataGate version number.
The contents of the <DG Library Name>/RELDATE DataGate shows the DataGate version number. In the screenshot above you can see that this version is DataGate 126.96.36.199.
This data area shows the TCP/IP port to which DataGate is bound. The TCP/IP port is the first set of numbers after the subsystem (shown in the blue rectangle above). In this case, DataGate is bound to port 5160.