Question & Answer
Question
Why does WRKLNK fail to "Position to" the 30,000th file in my directory when using "F17=Position to" ?
Answer
When WRKLNK is invoked on a directory with more than a certain number of entries, the user will get a message CPDA092 - "Cannot display all of the objects requested" at the bottom of the screen. The reason for this is that entries are not stored or read in sorted order. WRKLNK reads all the entries that it can into one contiguous space so the entries can be sorted. The space used is only 16 megabytes. The exact number or entries WRKLNK can read into that space varies based on the lengths of the actual object names, but it's usually on the order of 15,000 to 25,000 entries. <F17> "Position to" only works to entries that actually make it into the shortened list. Users can specify their own sub-setting on the list generated by using the '*' and '?' characters to get the number of entries below the space limit.
The same issue may be encountered using the DSPLNK command.
This is working as designed. Please use wildcards or other sub-setting techniques, or use one of the alternate methods of working with and displaying large directory contents in the related URLs below.
Related Information
Was this topic helpful?
Document Information
Modified date:
23 March 2021
UID
ibm10729213