search
cancel
Search
OPSDYNAM ALLOC RC=4
book
Article ID: 191359
calendar_today
Updated On:
Products
OPS/MVS Event Management & Automation
Show More
Show Less
Issue/Introduction
Error executing a REXX programs that used OPSDYNAM to allocate a file:
address OPSDYNAM "ALLOC FILE(PUNCH1) SYSOUT(B) WRITER(SMTP)"
OPSDYNAM
ALLOC FILE(PUNCH1) SYSOUT(B) WRITER(SMTP)
RC(4)
Environment
Release : 13.5
Component : OPS/MVS
Resolution
This symptom may indicate the file is already allocated.
A FREE command before the attempt to allocate this file or at the end of the program can be a solution:
address OPSDYNAM "FREE FILE(PUNCH1)"
Feedback
thumb_up
Yes
thumb_down
No