1,635 pts.
 iSeries: Restore a file from TAPE to IFS DIR
I'm trying to restore a file (.nsf file) from a backup tape to IFS DIR,the source path name is much longer than command string size...not able to provide the fullname...I tired * at the end of path ,RST command restore coupld of .nsf files..but i need to restore only one.
Does anybody experienced this ever? if so pls provide me some alternative solution for it...Thanks.


Software/Hardware used:
V6R1,
ASKED: March 13, 2012  6:04 AM
UPDATED: March 17, 2012  1:34 AM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question. TomLiotta   108,310 pts. , 155454   110 pts. , Michael Tidmarsh   11,410 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Take a look at the Back and Recovery manual.

 3,175 pts.

 

When a value won’t fit into a command parameter on a prompted display, you can make the parameter bigger. You can make many parameters larger and larger until they are up to 512 bytes long.

Type an ampersand and a blank (“& “) into the first positions of the parameter, and then press <Enter>. The parameter field on the screen should be bigger. Do it again, and the parameter field should get bigger again.

If there is a value already in the parameter field, don’t worry about it. The whole value will be there after you press <Enter>. You can test it easily enough without actually executing the command.

Many parameters have fixed lengths and can’t be expanded. But parameters that hold paths are examples that are intended to have many possible sizes on a screen.

Tom

 108,310 pts.

 

Great tip Tom..Thanx very much….while doing test,i also came to know that,if even & help us..we can use command line with out prompting actual command.

 1,635 pts.

 

…we can use command line with out prompting actual command.

Once you learn the basic commands that you’ll use again and again, the command line becomes more useful. One of the most useful command lines is shown by CALL QCMD.

The QCMD command line can handle very large command strings after you press F11 for full-screen mode.

Tom

 108,310 pts.

 

This command works for us:RST DEV(‘/qsys.lib/tap01.devd’
OBJ((‘/home/atlantis/Oroville/hr/paypf080**’
*INCLUDE ‘/home/HR_mgr’))

 5,525 pts.