Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download Download PDF Handheld DisconnectedHandheld ConnectedHelp

1.3.7.3.1 Spool API Functions


You can use the ISRT call to write data to the JES Spool. These writes are done using BSAM and, if possible, each BSAM "write" is done directly from the application program's buffer area.

Restriction: BSAM does not support the I/O area for sysout data sets above the 16-MB line. If IMS/ESA finds an I/O area above the 16-MB line, it moves the application data to a work area below the line before it performs the BSAM write. If the I/O area is already below the line, the write is done directly from the I/O area. Do not take unusual steps to place the I/O area below the line unless performance indicates a need to do so.

When you issue the ISRT call for an alternate PCB set up for IAFP processing, prefix the I/O area with a BSAM block descriptor word for variable length records.

Related Reading: For more information on BSAM block descriptor words, see MVS/ESA Data Administration Guide for Data Facility Product.


 LL or LLLL(1, 2 
 )               
                  
 ZZ(2)            
                 
 ll(3)           
                 
 zz(3)           
 Halfword length 
 of the I/O area 
 or block,       
 including the   
 4-byte length   
 of the LLZZ     
 fields.         
                 
 Halfword of zero 
                  
                  
                  
                  
                  
                  
                  
 Halfword length 
 of the logical  
 record or       
 segment,        
 including the   
 4-byte length   
 of the llzz     
 fields.         
 Halfword of     
 zero            
                 
                 
                 
                 
                 
                 
 Notes:                                                                 
                                                                        
                                                                        
        1.  For application programs that use the PLITDLI interface,    
            the length field is a fullword (LLLL). However, the length  
            of the LLLLZZ field is still considered 4 bytes.            
                                                                        
                                                                        
        2.  LLZZ is the equivalent of the BSAM Block Descriptor Word    
            (BDW).                                                      
                                                                        
                                                                        
        3.  llzz is the equivalent of the BSAM Record Descriptor Word   
            (RDW).                                                      
                                                                        
                                                                        

For more information on Spool API, see IMS Version 7 Application Programming: Design Guide, SC26-9423.

Previous Topic Next Topic © Copyright IBM Corp. 1974, 2001

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.