Examples of Data Set Sources

The source file RBSSRC in library RBSPGMLIB is shipped with Robot Save and contains examples of how to use data set commands. Use it as a reference source when coding your own data set programs. You can find the following source members illustrating data sets in RBSSRC:

EXAMPLE1—EXAMPLE9

Sample source members (not compiled programs) that illustrate using the RBSRECORD command and generating history for a save performed outside of Robot Save. These are not data set program examples.

RBS98EXMPL

A data set program example source member (not a compiled program) that is a framework of the data set command for a simple SAVOBJ command.

RBS99EXMPL

A data set program example source member (not a compiled program) that is similar to RBS98EXMPL (above), but restores a file, uses it, and saves it again.