After i signon i get this eror:ERROR 22-7: Invalid option name LIBRARY.

But after rsubmit it use library "temp" without erros:

data x;
set temp.F1DN;
run;

NOTE: There were 743 observations read from the data set TEMP.F1DN.
NOTE: The data set WORK.X has 743 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.23 seconds
cpu time 0.03 seconds

NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead.
NOTE: All registry changes will be lost at the end of the session.

WARNING: Unable to copy SASUSER registry to WORK registry. Because of this, you will not see registry customizations during this session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) 9.1 (TS1M3)
Licensed to #######, Site 0088197007.
NOTE: This session is executing on the HP-UX B.11.31 platform.

This message is contained in the SAS news file, and is presented upon
initialization. Edit the file "news" in the "misc/base" directory to
display site-specific news and information in the program log.
The command line option "-nonews" will prevent this display.

This message is contained in the SAS news file, and is presented upon
initialization. Edit the file "news" in the "misc/base" directory to
display site-specific news and information in the program log.
The command line option "-nonews" will prevent this display.

Re: SAS Multiprocessing/inherit meta library error

I suspect you're having trouble, because you're trying to inherit a "special" library (metadata engine) which is by definition a remote lib in the metadata server. So you're trying to remotely access a remote library.

For example, inheritlib will not work if you try to remote signon form another remote session (but will work fine if from within a local session).

Try to remove the testine from your script, and see if the problem persists.