I am trying to determine how a compile setting was used when a program was compiled. Specifically, the OPTION field. I need to know if an object was compiled with *SOURCE or without source. I am writing a debugger, so if the program was compiled with *SOURCE view (RPGIII), it will use my debugger. Otherwise, it defaults to the standard STRISDB. The reason for this is that often we have to use STRISDB, but sometimes the job list running on the AS400 is in the thousands, if not 10's of thousands. If you use *SELECT as the STRISDB option, you have to page down forever just to find the job you want to service. Surprisingly, this list is not in any easy order to follow. I tried using DSPOBJD to an outfile, but didn't see anything in there. I'm sure it's stored somewhere, perhaps accessible only through an IBM API?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!