Saturday, April 12, 2025

ISPF Scroll more than 9999 lines

 Starting from z/OS 2.1, when issuing a scrolling command, a scroll amount of up to 9,999,999 can be entered in the primary input field. 'Scroll' fields on ISPF panels(which is located on the right hand side) continue to be limited to values up to 9999.

Example is given below. Key in "down 9999999" in the "Command" line and hit enter key in the BROWSE/VIEW/EDIT panels. Or You can Key in "9999999" and hit PF8 key. This will scroll the screen to 9999999 lines 

   Menu  Utilities  Compilers  Help                                             
 sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 BROWSE    MY.BIG.FILE                              Line 0000000000 Col 001 080 
 Command ===> down 9999999                                      Scroll ===> CSR  
********************************* Top of Data **********************************
line no 1                                                                       
line no 2                 
line no 3                 
line no 4                 
line no 5                 
line no 6

   Menu  Utilities  Compilers  Help                                             
 sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 BROWSE    MY.BIG.FILE                              Line 0009999999 Col 001 080 
 Command ===>                                                   Scroll ===> CSR  
********************************* Top of Data **********************************
line no 9999999                                                       
line no 10000000           
line no 10000001                 
line no 10000002                 
line no 10000003          
line no 10000004

ZXSMIN and ZXSMAX are system profile variables containing the minimum and maximum scroll values as defined in the ISPF configuration table. Can be in the range of 0 to 9999999. When the value is entered in the scroll field the user is limited to entering a 4-digit value but when the value is entered in the command field it can be any value between ZXSMIN and ZXSMAX (inclusive).

If "down 9999999" command throws "Invalid scroll amount", then it implies ZXSMAX system profile variable is set to "9999" in the ISPF configuration table.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.