Example 3. RLS: Updating Server Data

Purpose

This example enables you to take advantage of a mainframe's superior data handling and security features, while you work in a user-friendly GUI environment. RLS is used to update server data. This application of RLS eliminates the need to transfer a disk copy of the data to the client session before processing the data. It also involves low volume transaction processing.

Program

1 x mkdir hr.emp.data;
libname hr 'hr.emp.data';
data hr.employee;
  x=1; 
  run;
signon remos390;
2
 libname rlib REMOTE 'hr.emp.data' server=remos390;
3
 proc fsedit data=rlib.employee;
run;
1 Creates the data set HR.EMP.DATA.
2 Defines the server session human resource library to the client session.
3 Executes a client FSEDIT to update the employee data set that is located on the z/OS computer.