| 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 | 
    I'm having real problems with SEND_JBC. I've cut down the parameters
    I'm passing to it right down and I'm STILL getting the same error...
    
    Here's what I have now :
    
    GET #QUEUE = "SCO$BATCH"
    GET #FILE = "sco$command:sco$create_NON_STD_reports"
    
    GET OA$FUNCTION = "SEND_JBC ENTER_FILE /QUEUE=#QUEUE -
    	/FILE_SPECIFICATION=#FILE "
    
    The error I get when I run this is "SEND_JBC operation error".
    
    Can anyone suggest anything that I might be doing wrong ?
    
    Thanks,
    
    				Jamie.
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 3315.1 | At first glance ... | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Thu Sep 23 1993 10:04 | 4 | 
|     Possibly #file needs to be a full filespec, including the .xxx
    
    Dick
    
 | |||||
| 3315.3 | Use Gold-W | IOSG::NEWLAND | Richard Newland, IOSG, REO2-G/L2 | Thu Sep 23 1993 17:58 | 18 | 
| If you type Gold-W when the 'SEND_JBC Operation error' is displayed 
additional error messages will be displayed in the Message Buffer, which
usually helps to isolate the problem. 
Also, you don't always need to use OA$FUNCTION and could have written the 
following, which will be more efficient.
    GET #QUEUE = "SCO$BATCH"
    GET #FILE = "sco$command:sco$create_NON_STD_reports"
    
    SEND_JBC ENTER_FILE /QUEUE=#QUEUE /FILE_SPECIFICATION=#FILE 
    
Some ALL-IN-1 scripts do use OA$FUNCTION because the qualifers are not 
known until run time.
Richard
 | |||||