Jopaz 1.2.0 | Troubleshooting and Statistics | Errors When Configuring Jopaz | Invalid/Unsupported File Name Assignment in Source Code
 
Invalid/Unsupported File Name Assignment in Source Code
If you receive this error
DynamicMVSSequential table:, oper=, RETCODE=47, 4, EDC5047I An invalid file name was specified as a function parameter.
it means that some file assignments contain prefixes like DA-S- which prevent the class to execute without an error.
For example:
000420 SELECT XXXXXXX ASSIGN TO DA -S- XXXXXXX . TFI301Y
000430 SELECT XXXXXXX ASSIGN TO DA -S- XXXXXXX . TFI301Y
000440 SELECT XXXXXXX ASSIGN TO DA -S- XXXXXXX . TFI301Y
Solution
You can use the option -csl. It treats the COBOL name ASSIGN clause as a literal. This allows a mapping to be created for the file name if the jopaz.file.env_naming (boolean) compile property is set to true in the COMOPT file.
Note:
This option is in conflict with -cax, which specifies the default file assignment as external.