Skip to main content

Problem:

I am trying to get data into my batch Cobol program thru the ACCEPT verb. Is this possible? I have tried various combinations of input and even tried a non-mainframe dialect but nothing has worked yet.

Resolution:

This can be done using the INDD compiler directive. Our default input becomes SYSIN - which can be pointed to a dataset or coded to be picked up via DD * (instream data) from the JCL. When using this directive, you can still continue to use the host dialect of your choice.

Old KB# 3780

#MFDS
#EnterpriseDeveloper