[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

858.0. "Finding print job entry numbers" by SUBURB::BROWNSTONE (Out to lunch) Fri Jun 12 1992 15:52

    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.RTitleUserPersonal
Name
DateLines
858.1/ENTRY_NUMBER=...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeFri Jun 12 1992 16:1118
    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.2FYIUTRTSC::BOSMANWe're just sugar mice in the rainFri Jun 12 1992 16:348
    FYI,
    
�   There's a similar symbol if you were using DCL (which of course you
�   aren't!!)
    
    Local symbol $ENTRY.
    
    Sjaak.