Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error calling DSPF file

Status
Not open for further replies.

Uvaiz

MIS
Jun 13, 2003
38
CA
Hi

I am new programming in COBOL400 and would appreciate some help.

I have created a DSPF screen file and compiled using command CRTDSPF with display device *REQUESTER.

The compilation of the Cobol program and the DSPF went fine but calling the COBOL program I get the following error.

Message . . . . : Device *REQUESTER not found while opening file TONYSCR in
library USERDEV.

Have I missed something please

Thank you in advance.

Tony
 
Tony,

"Message . . . . : Device *REQUESTER not found while opening file TONYSCR in library USERDEV." Corresponds to message CPF4103. These message codes help to identify the source of the problem.

In this case the cause of the message is most likely because you are running your program in BATCH, and a display file can only be allocated INTERACTIVELY.
 
Thanks David your suggestion works. In addition there was a coding error as well in the Display file. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top