Identifying Calling Program 
Author Message
 Identifying Calling Program

Is there any way to identify/reference the calling program name in a
Cobol 370 program other than having the calling program pass the
program name in linkage?

--Lynn



Tue, 24 Feb 2004 10:32:42 GMT  
 Identifying Calling Program

:>Is there any way to identify/reference the calling program name in a
:>Cobol 370 program other than having the calling program pass the
:>program name in linkage?

Define calling program.

The load module name?

Csect name?

Job step program?

If the subroutine wishes to take different actions based on the name of the
caller it should instead have a formal parameter which chooses the processing
path.

--


http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel



Tue, 24 Feb 2004 17:27:20 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. identifying called names

2. Help: Programming AT/ATAPI IDENTIFY

3. Call a REXX Exec and have it Address the calling program

4. LINK command that calls a dialog with a map causes loss of place in calling program

5. Call HLASM program from COBOL MVS program

6. Windows program call DOS program

7. Calling FoxPro program from within Clipper program

8. Calling a COBOL program from a PL/1 program

9. rexx program calling cobol program

10. Calling a REXX program from a C program.

11. Calling REXX programs from within an assembler program

12. Calling child programs from programs

 

 
Powered by phpBB® Forum Software