Created On:  22 April 2011

Problem:

When calling dfconv from a COBOL program started from JCL getting RTS 197 error.

Resolution:

If the application is run without a console, it causes an RTS:197 for accept/display handling (ADIS). In order to suppress screen interaction,  -d switch can be used in the parameters passed to dfconv.  The –d switch eliminates all displays.

dfconv profile-name -d [input-filename] [output-filename]

Using the call interface the parameter can follow the profile-name or precede the input-filename.

Eg.

PROFILE-FILNAME D:\\WORK\\PROFILES\\SRM390.PRO -d

Or

INPUT-FILENAME -d C:\\NCHSYSTEMS\\DATA\\CATALOG\\REGULAR\\SRM00390.DAT
Incident #2490715