[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 | 
3202.0. "Problem while creating Message in ALL-IN-1 through Batch Job" by SALES::PASADM () Fri Aug 27 1993 16:44
Hi,
    
    I am getting "Unsupported Terminal Type" error when I am creating Message 
    in ALL-IN-1 through a Batch Job. The message text is in a VMS file. 
    This is required for an Application which sends a message to hundreds and 
    thousands of people. User wants to run this in Batch mode.
    How do I overcome this Problem ?
    The command file and Log files are given below.
Thanks.
P.V.Rao.
Command file used :
-------------------
$ ALLIN1/REENTER
EM{CR}                                       
C{CR}                                        
pv rao @mro {cr}
{TAB}{TAB}                                   
TEST                                                                                                                                                                                                    
{TAB}{TAB}{TAB}NO{TAB}NO{CR}{GOLD G}VMS{CR}  
rc$tmp:message_100.wpl{CR}                   
{GOLD F}{GOLD F}                             
EX                                           
$ EXIT                                       
Log file generated :
--------------------
$ ALLIN1/REENTER
FORM Main Menu
     Options: WP, EM, DM, TM, IM, BA, COM, M, EX > 
You cannot use NUL at this point
EM{CR}                                       
     Options: WP, EM, DM, TM, IM, BA, COM, M, EX > EM
FORM  Electronic Messaging 
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
C{CR}                                        
     Options: SEL, II,IR,IC,IO, C,E,D,P,R,I,RI, RN,A,S,F, M > C
Message Header
pv rao @mro {cr}
     TO > pv rao @mro 
{TAB}{TAB}                                   
     TO > 
     CC > 
TEST                                                                                                                                                                                                    
{TAB}{TAB}{TAB}NO{TAB}NO{CR}{GOLD G}VMS{CR}  
     Subject > TEST
     Classification [UNCLASSIFIED]> 
FORM AUTO
1  UNCLASSIFIED
FORM Message Header
     Priority [FIRST_CLASS]> 
FORM AUTO
1  FIRST_CLASS
FORM Message Header
     Delivery Receipt ? [YES/NO] [NO]> NO
     Read Receipt ? [YES/NO] [NO]> NO
FORM  Electronic Messaging 
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
Unsupported terminal type
     Options: SEL, II,IR,IC,IO, C,E,D,P,R,I,RI, RN,A,S,F, M > 
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
You cannot use GOLD G at this point
     Options: SEL, II,IR,IC,IO, C,E,D,P,R,I,RI, RN,A,S,F, M > VMS
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
Invalid choice - re-enter
rc$tmp:message_100.wpl{CR}                   
     Options: SEL, II,IR,IC,IO, C,E,D,P,R,I,RI, RN,A,S,F, M > rc$tmp:message_100.wpl
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
Invalid choice - re-enter
{GOLD F}{GOLD F}                             
     Options: SEL, II,IR,IC,IO, C,E,D,P,R,I,RI, RN,A,S,F, M > 
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
Enter your choice from the list above
     Options: SEL, II,IR,IC,IO, C,E,D,P,R,I,RI, RN,A,S,F, M > 
     New Mail [( 10 new mail messages )]> 
     Drawer [MAIN]> 
     Folder [OUTBOX]> 
     Title [COMMANDS        AKOMTS]> 
     Author [PASADM]> 
     Date [27-Aug-1993 10:45am]> 
     Number [001499]> 
     Status [SENT]> 
Enter your choice from the list above
EX                                           
	PASADM finished using ALL-IN-1 at 27-Aug-1993 11:12am
$ EXIT                                       
  PASADM       job terminated at 27-AUG-1993 11:12:32.92
  Accounting information:
  Buffered I/O count:             298         Peak working set size:    4696
  Direct I/O count:               253         Peak page file size:     23259
  Page faults:                   3367         Mounted volumes:             0
  Charged CPU time:           0 00:00:07.12   Elapsed time:     0 00:00:24.48
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 3202.1 |  | AIMTEC::ZANIEWSKI_D | Why would CSC specialists need training? | Mon Aug 30 1993 13:44 | 6 | 
|  |         I believe WPS-PLUS is going to require a real terminal attached to
        the process to create using the described process.
        
        A do script might work better with version 3.0.
        
        Dave Zaniewski
 | 
| 3202.2 | MAIL SEND filename  is OK | LEMAN::UELTSCHI | Isabelle necessary on a bicycle ? | Mon Sep 06 1993 11:46 | 47 | 
|  | 
	WPS-PLUS is an application that runs in a terminal interactive
	environment, it always requires a video output device. During its
	initialization the command SET TERM/INQUIRE is executed which will
	then return the message of error you get. 
	In other words WPS-PLUS cannot run in batch mode.
	However, ALL-IN-1 is well designed, and so you will be able to do
	what you want to.
	The different steps are:
	1) Create your file. It should also contain address name (distribution
	    list won't work). Insert a blank line between the subject and the
	    first line of text (used by WPS-PLUS's default settings).
	-- REPORT.TXT --
	TO:  PV RAO @MRO
	CC:  MANAGER
	SUBJECT:  Weekly Report
	This is a report send in Batch mode
	Report Manager
	2) Create your command procedure which will be used to submit
	    the batch.
	-- SENDING_REPORT.COM --
	$ ALLIN1/REENTER/NOINIT/USER=PASADM
	OA$INI_INITIALIZE
	MAIL INITIALIZE
	MAIL SEND "USER$DISK:REPORT.TXT"
	EXIT
	
	3) Arrange a meeting with your manager to receive congratulations...
	As simple as that
	Bernard U.
 |