Category: Interview Questions
-
GOBACK, and EXIT PROGRAM?
STOP RUN → Ends the main program & returns control to OS. GOBACK → Returns control to caller (or OS if no caller). EXIT PROGRAM → Used in subprograms to return control to calling program.
-
WORKING STORAGE SECTION and LINKAGE SECTION?
WORKING-STORAGE: Declares variables for the current program. LINKAGE SECTION: Declares variables that come from another program or JCL (passed parameters).