Can the "USING" area of a Subroutine CALL be an 05 OR 10 Level working storage area within a Table?
I am developing a process that will CALL a Subroutine based on the Subroutine name found in an identifier. I'd like to customize the area based on the subroutine. I would like each area defined in a Table so all I have to do is change the index/subscript to match the subroutine's area and issue the call as...
CALL identifier USING WS-COMM-AREA (SUB or INDEX)
Haven't tried to run this through a compiler yet, so anyone care to comment?
I am developing a process that will CALL a Subroutine based on the Subroutine name found in an identifier. I'd like to customize the area based on the subroutine. I would like each area defined in a Table so all I have to do is change the index/subscript to match the subroutine's area and issue the call as...
CALL identifier USING WS-COMM-AREA (SUB or INDEX)
Haven't tried to run this through a compiler yet, so anyone care to comment?