Is there a Cobol/XE batch utility to produce a list of the PAINT panel names that exist in my Cobol/XE IOX dataspace?
search cancel

Is there a Cobol/XE batch utility to produce a list of the PAINT panel names that exist in my Cobol/XE IOX dataspace?

book

Article ID: 54514

calendar_today

Updated On:

Products

COBOL/XE

Issue/Introduction

There is no batch utility or option to produce just a list of the PAINT panels in an IOX dataspace but you can use existing OXFORMAT batch utility to obtain the names along with other information.

Environment

Release:
Component: COBOLX

Resolution

You can use the OXFORMAT batch utility to print the panels. Each panel is printed in its entirety. Each panel name is printed on an output line following the literal "Panel: ".

For example:

Using OXFORMAT utility run in batch with control cards:

 LIBRARY=yourIOX
PASSWORD=yourpassword
PANEL=////////

Note: 8 positions are specified for the PANEL= "/" is the wildcard character so 8 "/"s will select and print all panels.

The printed output is fixed 80 and can be directed to a data set. This is SYSPRINT in z/OS and SYSLST in z/VSE.

Here is an example of the output for 2 panels MYPANEL01 and MYPANEL02:

Panel:  MYPANEL01    Library: USRIOX                                           
Last accessed on 08/01/01 at 13:29 Version  .10                                
Height: 24  Width: 080 Data-name prefix:                                       
Author/Description: TEST PANEL01                                    
Color? Y  Hi-Lite N Validation? N Case? U                                      
                                       P P I D C H M F T     Occurs            
Row  Column  -------Field-Name-------  I R N E O L N I R   Ver    Hor          
    bgn  end                           C T T T L I D L G  Ln No   Ln No   Picture
... followed by the rest of MYPANEL01 panel definition ...
 
Panel:  MYPANEL02    Library: USRIOX                                           
Last accessed on 08/01/01 at 13:29 Version  .10                                
Height: 24  Width: 080 Data-name prefix:                                       
Author/Description: TEST PANEL02
Color? Y  Hi-Lite N Validation? N Case? U                                      
                                       P P I D C H M F T     Occurs            
Row  Column  -------Field-Name-------  I R N E O L N I R   Ver    Hor          
    bgn  end                           C T T T L I D L G  Ln No   Ln No   Picture
... followed by the rest of MYPANEL02 panel definition ...