Thread: COBOL

REXX called my COBOL - file status 96 - forgot ALLOC?

Started by Phil • user3 replies146 viewsLast activity 3 weeks ago
Post #1
0 votes
Phil
Reputation
145
Posts: 12
Joined: Dec 1, 2024, 10:20 AM
Posted: Jul 25, 2026, 9:38 AM

ADDRESS TSO CALL to a COBOL module. Program opens a sequential file and dies with status 96 / IGZ0035S.

In the REXX I never ALLOC'd that DD. That the whole story?

Post #2
0 votes
Susan
Reputation
167
Posts: 26
Joined: Jan 19, 2025, 4:12 PM
Posted: Jul 25, 2026, 11:38 AM

Whole story. COBOL ASSIGN TO MYDD needs MYDD allocated in the TSO session before CALL.

"ALLOC FI(MYDD) DA('HLQ.DATA') SHR REUSE" then call. FREE when done.

Post #3
1 votes
Phil
Reputation
145
Posts: 12
Joined: Dec 1, 2024, 10:20 AM
Posted: Jul 25, 2026, 1:38 PM

Allocated the DD. COBOL ran. I knew this and still forgot.

You must be signed in to reply to this thread