In my place of employment, we have DBA's that create all files that are used in production. This is mainly due to the fact that we are a multi-platform environment. They regularly create files with file names that are longer than 10 characters. These files also have an alternate 10 character name for use with RPG on the Iseries, e.g. RRTI_RSCSN_RLF_TERM_INFO = RRTI_00001. The only way I can figure out, given the long file name, is to go into SQL and query the file by its long name and then do a sys req 3/14 to see what the abbreviated file name is. So, I have 2 questions:
- Is there any easier way to find the short name, given the long name
- Is there a way to specify the long name in an RPG program instead of the short name, SQL not withstanding
Comment