× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: API for DSPJOB command
  • From: Russell Popeil <Russ2@xxxxxxxxxxxxxx>
  • Date: Tue, 6 May 1997 21:31:22 -0400

<If anyone had experience with DSPJOB using API, could you give me some
<input.  I would like to display a job for example - BATCH01.  I want to
<know
<if BATCH01 is currently active.  What is the API, and where I can get an
<example .  So far I can not find the right one from INFOSEEKER.


Try the job Information API QUSRJOBI 
Required parameters                                                       1
  Receiver variable          
           The variable to receive the information                        2
  Length of receiver variable Binary(4)                                3  
Format name                 Char(10)                                     
JOBI0100           Basic performance information                        
JOBI0150           Additional performance information                   
JOBI0200           WRKACTJOB information                                
JOBI0300           Job queue and output queue info                      
JOBI0400           Job attribute information                            
JOBI0500           Message logging information                          
JOBI0600           Active job information                               
JOBI0700           Library list information                         4  
Qualified job name          Char(26)                                     * 
                 The current job                                      Job
name            Char(10)                                             User
name           Char(10)                                             Job
Number          Char(6)                                          5  
Internal Job identifier     Char(16)                                 6  
Error code                  Char(16)                                    
Bin1                    1      4B 0 INZ(16)                         
     Bin2                    5      8B 0                                 
     MsgID                   9     15                                      
                    
                   
Create a Data Structure for the Error code and interrogate MsgID to for
CPF3C58 job not found 


Russ Popeil
Russ2@Compuserve.com
>From RPGIV Error handling Technique Duke Press 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.