× 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: RE: Determine Spool file attributes
  • From: Colin Williams <Williamsc@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 26 Mar 1999 09:12:21 -0000



0036.00      FXXXXXXP1O   E             20     PRINTER      KINFDS SPOOL

0096.00      ISPOOL       DS                                     
0097.00       ** Spool Information Data Structure                
0098.00       *                                                  
0099.00      I                                       83  92 SFILE
0100.00      I                                    B 123 1240SFNUM

SFILE is a binary number that can be then moved to a zoned or packed
field

                -----Original Message-----
                From:   Gary Munroe [mailto:GMUNROE@flemingc.on.ca]
                Sent:   Thursday, March 25, 1999 4:59 PM
                To:     RPG400-L@midrange.com
                Subject:        Determine Spool file attributes

                I am trying to find out the attributes (spool # mainly)
of the spool 
                file that I am using in an RPG III program on V3R2 (RPG
IV is not an 
                option rght now).  I've basically figured out that I
need to get the 
                information from the INFDS but the spool number is
defined as 
                positions 123-124 binary.  I have never used a binary
before and am 
                unsure on how to retrieve this information.  Can anyone
help?

                Thanks



__________________________________________________________________
                | Gary Munroe
|

|------------------------------------------------------------------|
                | I.T.S., AS/400 Services        Work:
gmunroe@flemingc.on.ca      |
                | Sir Sandford Fleming College   Home: izzi@calweb.com
|
                | (705) 749-5523 x1409            Web:
http://www.calweb.com/~izzi |

|__________________________________________________________________|
                * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * *
                * This is the RPG/400 Discussion Mailing List!  To
submit a new         *
                * message, send your mail to "RPG400-L@midrange.com".
To unsubscribe   *
                * from this list send email to MAJORDOMO@midrange.com
and specify       *
                * 'unsubscribe RPG400-L' in the body of your message.
Questions should *
                * be directed to the list owner / operator:
david@midrange.com          *
                * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-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.