I am trying to execute LISTCAT command in batch mode for around 3000 files (sequential files and GDGs bases are supplied as input). The objective is to see what all files have valid entry in catalog, and also to obtain the geenrations of GDGs (if any supplied on input).
But the job abends with message IDC3223I TOO MANY CONSTANTS IN LIST BEGINNING AT â€˜xxxâ€™.
I did check the manul for LISTCAT (DFSMS Access Method Services for Catalogs) but did not find any limit as such on the number of entries supplied as input to the LISTCAT command.
The error code description is
Explanation: Too many constants have been coded in a list.
In the message text:
xxx The constant that begins the list.
System action: Processing skips to the end of the command. The system begins interpretation with the next
Application Programmer Response: Check the parameter definition to see how many constants appear in the list.
Correct the usage. Run the job again.
System programmer response: If the error recurs and the program is not in error, search problem reporting data
bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the SYSOUT output for the
IDC3220I â€¢ IDC3223I
Chapter 20. IDC messages 447
Detecting Module: IDCRI01
Can anyone please explain if there is such a limit. If yes, what are the number of entries that we can pass to LISTCAT command. Or is there any alternate way out.
P.S. - When I reduce the limit to say 256, the job goes thru.