[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| 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 | 
4075.0. "UDP running in batch?" by ANGLIN::HARRISA (Touring the world for apple struedl) Wed Apr 13 1994 17:26
    ALL-IN-1 v3.0-1, VMS 5.5-2
    
    customer has a UDP that he wants to have run each day at 9AM without
    him having to log into ALL-IN-1. The UDP is:
    
    .label select the document
    
    DT{RETURN}
    SEL{CR}
    {UP}{LF}{TAB}NEWSSCANNER{CR}
    
    .label do the transfer
    
    SV{RETURN}ou03:[USdec071]JMW.TXT{RETURN}
    ____________________________________________
    what i thought of doing was - writing a .COM file tht would go into
    ALL-IN_!/NOINIT and then run the UDP as a script script. however, i
    keep getting these errors:
    
    Enter CMD:script ou03:[usdec071.oa.udp]ns.udp
    Enter CMD:DT
    %OA-E-FNI, Function "DTR" not implemented in this version
    Enter CMD:SEL
    %OA-E-OAFE, Unknown, ambiguous, or invalid function "SEL"
    Enter CMD:
                    NEWSSCANNER
    %OA-E-OAFE, Unknown, ambiguous, or invalid function "NEWSSCANNER"
    Enter CMD:SV
    %OA-E-OAFE, Unknown, ambiguous, or invalid function "SV"
    Enter CMD:ou03:[USdec071]JMW.TXT
    %OA-E-OAFE, Unknown, ambiguous, or invalid function "OU03"
    Enter CMD:EM
    %OA-E-OAFE, Unknown, ambiguous, or invalid function "EM"
    _____________________________________________
    what do i need to add to my UDP?
    
    	thanks - ann - "easliy confused in minneapolis"
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 4075.1 | OA$INI_INIT | UTRTSC::SMEETS | Alpha AXP Compatible LinkWorks Mouse | Thu Apr 14 1994 07:15 | 8 | 
|  | Hello Ann,
You might try the following
$ ALLIN1/user=..../noinit
OA$INI_init
do yourscript
exit
$ exit
 | 
| 4075.2 | No | GIDDAY::JOYCE | Burn me kangaroo down sport | Thu Apr 14 1994 07:42 | 17 | 
|  |     
    ALLIN1/NOINIT fires up ALL-IN-1 in Command Mode - NOT what you want at
    all.
    
    Try...
    
    	 ALLIN1/DEVICE=HARDCOPY/USER=..../REENTER/SCRIPT=yourscript
    
    Remember to put an EXIT{CR} at the end of your script
    
    
    Alternatively, you *could* run ALL-IN-1 in command mode so long as you 
    then run a DO-mode script to do the specific ALL-IN-1 functions you need
    rather than simulating a user's actions in a UDP.
    
    
    Andy
 | 
| 4075.3 | {down} not working | ANGLIN::HARRISA | Touring the world for apple struedl | Thu Apr 14 1994 22:42 | 31 | 
|  |     thanks! i've got the udp to run in batch.
    
    now for another question....
    
    is there any reason why the following is not working?
    the error that is get is:
    
    	You cannot use NUL at this point
    
    when it is trying to do {DOWN}
    
    thanks in advance!!
    	
    			ann
    .LABEL START
    EM I{CR}
    {LF}{TAB}NEWSSCANNER{CR}
    
    .LABEL DATE_TEST
    .IF CAB$.CREDAT[OA$CURMES] NES OA$DATE THEN .GOTO SEARCH ELSE .GOTO
    TRANSFER
    
    .LABEL SEARCH
    {CR)
    .GOTO DATE_TEST
    
    .LABEL TRANSFER
    DT{CR}SV{RETURN}
    OU03:[USDEC071]JMW.TXT{RETURN}
    .EXIT
    
 | 
| 4075.4 | UDP out of synch | GIDDAY::JOYCE | Burn me kangaroo down sport | Thu Apr 14 1994 23:56 | 18 | 
|  | 
re .-1
>    is there any reason why the following is not working?
>    the error that is get is:
>    
>    	You cannot use NUL at this point
>    
>    when it is trying to do {DOWN}
 
	Well I can't see where you use {DOWN} in your example but I've had 
	this error myself when ALL-IN-1 has displayed a "Press RETURN to 
	continue" prompt or a "Do you really want to do this [Y/N] ?" prompt 
	and I've not put anything into my UDP to respond..   
Andy
                     
 |