Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
Is it possible to have the file format name as a variable?
I have 6 files with the same layout (all with different format names) and would like to declare 1 in the program as USROPN.
This works fine at the file override level for reads and chains, but when I try and update or write it tells me the record format does not exist in the file.
Thanks,
Brian
Are you on a release where you can specify the FILE name on UPDATE and WRITE?
If so, try using the File name only on UPDATE or WRITE.
Or use embedded sql.
Neil, where's the "Like" button on this thing?