AS400 Cobol screen write hanging up

5 pts.
Tags:
COBOL
COBOL/400
iSeries RPG programming
I am an RPG programmer, but have a client with a cobol issue. When the program does a write to a screen it never returns to the read statement. No error is issued and we have to cancel the job. Any ideas or suggestions?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Haven’t done too much cobol on AS400, but I’d suggest starting with the DDS to see if there’s anything strange there. Has the Display file been compiled with specific keywords (use DSPFD or CHGDSPF to check).

If all this looks OK, then I’d check the definition of the display file in the program and check to see how it’s used elsewhere in the program. Do you have any compile time warnings or errors?

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following