Problem:
We are running a Cobol program in Mainframe Express (MFE) using UPSI switches, but they are not passed into the user program.
Resolution:
The supplied JCL contained the following parameter string (notice its order):
//STEP10 EXEC PGM=LORINCE,PARM='/UPSI(10011000)'
Check the Project setting under Project>Project Settings, LE tab, Project uses Language Environment, CBLOPTS. UPSI switches are actually runtime options, not program parameters. We need a trailing slash or CBLOPTS to be selected (drag the ? mark to the field and see the Help). This was something IBM changed when the VS Cobol II Runtime Library was replaced by LE (Language Environment) and IBM chose to use the order of parameters used by C and PL/I.
#EnterpriseDeveloper
#MFDS