If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > PL/1 call to a remote server (AIX with DB2 UDB)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-04, 12:34
ccsoftball7 ccsoftball7 is offline
Registered User
 
Join Date: Feb 2004
Location: Terre Haute, IN
Posts: 7
Question PL/1 call to a remote server (AIX with DB2 UDB)

I would like to know if anyone could provide an example of a remote call to a server (with specific connect string, etc) from a mainframe PL/1 program. I would like to send a specific account number to the server and bring back addressing information to populate a file layout.

I believe we are going to use either MQSeries or a DRDA call to the database.

The basic SQL syntax if the table would reside on mainframe:

Select First_name
,Last_name
,Address
,City
,State
,Zip
into :First_name
,:Last_name
,:Address
,:City
,tate
,:Zip
from table
where account_number = :account_number;

Thanks in advance.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On