[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

4075.0. "UDP running in batch?" by ANGLIN::HARRISA (Touring the world for apple struedl) Wed Apr 13 1994 18: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.RTitleUserPersonal
Name
DateLines
4075.1OA$INI_INITUTRTSC::SMEETSAlpha AXP Compatible LinkWorks MouseThu Apr 14 1994 08:158
Hello Ann,

You might try the following
$ ALLIN1/user=..../noinit
OA$INI_init
do yourscript
exit
$ exit
4075.2NoGIDDAY::JOYCEBurn me kangaroo down sportThu Apr 14 1994 08:4217
    
    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 workingANGLIN::HARRISATouring the world for apple struedlThu Apr 14 1994 23:4231
    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.4UDP out of synchGIDDAY::JOYCEBurn me kangaroo down sportFri Apr 15 1994 00:5618

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