| 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 trying to figure out a method of getting the entry number of a
    print job that I just submitted from a script (for that same script to
    use to manipulate the job).
    
    Any 'simple' pointers ?
    
    Thanks
    
    Chris
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 858.1 | /ENTRY_NUMBER=... | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Fri Jun 12 1992 15:11 | 18 | 
|     How did you submit the print job?
    
    If you are using SEND_JBC then there's a qualifier called 
    /ENTRY_NUMBER_OUTPUT=#symbol then the symbol will get set to the entry
    number.
    Therefore on a SEND_JBC command with either a CREATE_JOB or ENTER_FILE
    function add the qualifer /ENTRY_NUMBER_OUTPUT=#SYMBOL and #SYMBOL will be
    set with the entry number of the created job.
    
    (Note there's also a qualifier /ENTRY_NUMBER, which is *NOT* what you
    want!)
    There's a similar output symbol if you were using the DCL $SUBMIT or $QUEUE
    commands (which of course you aren't!!)
    
    Graham (Fortunately Richard N. walked past just as I was typing  this,
            so it's his answer really!)
 | |||||
| 858.2 | FYI | UTRTSC::BOSMAN | We're just sugar mice in the rain | Fri Jun 12 1992 15:34 | 8 | 
|     FYI,
    
�   There's a similar symbol if you were using DCL (which of course you
�   aren't!!)
    
    Local symbol $ENTRY.
    
    Sjaak.
 | |||||