Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
Trying to convert a DX file to WPSPLUS in a batch mode $allin1/noinit/noprofil copy "GG.dx" "GG.wpl" $exit $ I got "%OA-E-NOCOPY, Problem with COPY function - file "GG.wpl" error. Is there something I'm missing? Note: I don't I have problem to convert to text (COPY "GG.DX" "GG.TXT"). I don't have problem to do "COPY "GG.DX" "GG.WPL" using interactive ALL-IN-1.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
572.1 | Try specifying a directory? | SANFAN::LESLIE_DA | Greetings & Solutions | Mon Apr 27 1992 00:21 | 11 |
Hi, Terry... Have you tried specifying a directory? When I tried your command procedure and replaced line 2 with: copy "sys$login:GG.dx" "sys$login:GG.wpl" I got a WPS-PLUS file created. HTWFY (Hope this works for you)... Dan | |||||
572.2 | OAUSER:WPSDEF.WPL | IOSG::NEWLAND | Richard Newland, IOSG, REO1-D/4A | Mon Apr 27 1992 12:43 | 30 |
When the WPS-PLUS text dataset creates a new file it also opens the file OAUSER:WPSDEF.WPL to get the default pagination settings. The creation of the output .WPL file is failing because the file OAUSER:WPSDEF.WPL cannot be opened because the logical OAUSER has not been defined. If you want your batch procedure to run independently of ALL-IN-1 user accounts then define OAUSER pointing to a directory which contains a WPSDEF.WPL file, for example: $allin1/noinit/noprofil logical OAUSER, USER1:[NEWLAND] copy "GG.dx" "GG.wpl" $exit If your batch procedure always runs in the context of an ALL-IN-1 user perform ALL-IN-1 initialization to create the OAUSER logical. Note that this will also change the default directory. $allin1/noinit oa$ini_globals oa$ini_set_default_dir copy "GG.dx" "GG.wpl" $exit Richard | |||||
572.3 | Thanks. | HSOMAI::LIN | Terry Lin | Mon Apr 27 1992 16:12 | 2 |
.2 Thanks. It works. |