Reading tables across lpars
search cancel

Reading tables across lpars

book

Article ID: 217096

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

We need to be able to read a RDF table from a remote LPAR. How to do so?

Environment

OPS/MVS

Resolution

Use the SYSTEM keyword to indicate the MSF node where the table resides. For example:

ADDRESS SQL                             
"SELECT NAME FROM STCTBL SYSTEM(msfid)"
IF SQLCODE = 0 THEN                     
DO I = 1 TO NAME.0                      
  SAY 'I=' I 'NAME ' NAME.I             
END                                     

 

 

Additional Information