Q
Problem solve Get help with specific problems with your technologies, process and projects.

Running a backup in a restricted state

I'm attempting to execute a weekly unattended backup CL program on system B from a CL program that resides on system A. The procedure works with SBMRMTCMD, but I wonder if this command will allow me to be in a restricted state on system B when I attempt to execute it. Do you know?

You're not going to be able to run your backup remotely on a machine in a restricted state. If you're wanting your machine in a restricted state so that you can do a savlib(*NONSYS) you can accomplish that by ending TCP/IP and all other subsystems (with the exception of your controlling subsystem) and doing two separate save commands. These two saves are functionally equal to a savlib(*NONSYS) and they don't require the system to be in a restricted state.

These two commands are:

SAVLIB LIB(*ALLUSR)
SAVLIB LIB(*IBM)

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close