[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

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

572.0. "DX to WPL conversion" by HSOMAI::LIN (Terry Lin) Sat Apr 25 1992 00:57

    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.RTitleUserPersonal
Name
DateLines
572.1Try specifying a directory?SANFAN::LESLIE_DAGreetings & SolutionsMon Apr 27 1992 03:2111
    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.2OAUSER:WPSDEF.WPLIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4AMon Apr 27 1992 15:4330
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.3Thanks.HSOMAI::LINTerry LinMon Apr 27 1992 19:122
    .2  
    Thanks.  It works.