07.08.2013 Views

SAS 9.1.3 Intelligence Platform: System Administration Guide

SAS 9.1.3 Intelligence Platform: System Administration Guide

SAS 9.1.3 Intelligence Platform: System Administration Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

56 Using %OMABAKUP on z/OS R Chapter 7<br />

Using %OMABAKUP on z/OS<br />

Use the following steps to execute %OMABAKUP on z/OS:<br />

1 First, create a directory in the path where the backup files will be stored. For<br />

z/OS, the following path is recommended:<br />

/usr/lpp/<strong>SAS</strong>/config-dir-name/Lev1/<strong>SAS</strong>Backup<br />

Note: The full pathname of a backup repository cannot exceed 200 characters. R<br />

Use operating system permissions to secure the directory. The permissions<br />

should deny access to anyone other than the user who will run the backup<br />

program.<br />

2 Create a CONFIG data set that contains a server connection statement. The<br />

syntax for the server connection statement is as follows:<br />

options metaserver=hostname<br />

metaport=port-number<br />

metaprotocol="bridge"<br />

metauser="administrative-userID"<br />

metapass="encoded-password"<br />

metarepository="Foundation";<br />

For an explanation of the parameters, see “Server Connection Statement:<br />

Reference” on page 59.<br />

Save the file using the name &prefix.WO.SRVCFG(BACKUP).<br />

3 Next, create a batch job that does the following:<br />

3 starts <strong>SAS</strong>.<br />

3 references the CONFIG data set that contains the server connection<br />

statement.<br />

3 executes the %OMABAKUP macro, with appropriate options. The syntax for<br />

an %OMABAKUP statement is as follows:<br />

%omabakup(DestinationPath="pathname",<br />

ServerStartPath="pathname",<br />

RposmgrPath="pathname",<br />

,<br />

,<br />

)<br />

For an explanation of the parameters, see “%OMABAKUP Statement:<br />

Reference” on page 59.<br />

3 Include job control language (JCL) that specifies where to write the log in the<br />

batch job that invokes %OMABAKUP—for example:<br />

//<strong>SAS</strong>LOG DD DSN=USERID.OMABAKUP.LOG, DISP=SHR<br />

Here is an example of a batch job that runs on z/OS and stores the backup files on<br />

a UNIX machine:<br />

//BACKUP JOB (R4221),"myname",<br />

// MSGCLASS=A,<br />

// TIME=(5)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!