IBM0702S
ONCODE=oncode-value An attempt to to output an unallocated CONTROLLED variable occurred on a PUT DATA statement.

Explanation

A CONTROLLED variable was being output to a file by a PUT FILE DATA statement, but there was no current allocation for the variable. The ONCODE associated with this message is 4002.

System action

The ERROR condition is raised.

Programmer response

Insert an ALLOCATE statement for the variable before the PUT FILE DATA statement.

Symbolic Feedback Code

IBM0LU