Topic
  • 1 reply
  • Latest Post - ‏2013-08-29T13:33:17Z by Jeff.Douglas
navana
navana
23 Posts

Pinned topic Display MOD and TS in Load with qualifier

‏2013-08-28T08:01:41Z |

Hello,

I want to include a line which would explicitly mention the load name and TS in the generated EGL Loadmodule. Example: something like this MOD=MCM001M 22.MAY.07 09.20.47 or MOD=MCM001M TS=22.MAY.07 09.20.47

Is there any build option available to mention the module name and TS with its key word(MOD & TS) in prefix?

Please suggest.

Thanks in advance

Naveen Raghavendran

 

 

 

  • Jeff.Douglas
    Jeff.Douglas
    241 Posts
    ACCEPTED ANSWER

    Re: Display MOD and TS in Load with qualifier

    ‏2013-08-29T13:33:17Z  

    The generated cobol code already includes that information in the application profile control block. This control block is placed at the start of the EGL program. Here is an example:

           01  EZEAPP-PROFILE SYNCHRONIZED.
               05  FILLER PIC X(8) VALUE "ELARHAPP".
               05  EZEAPP-APPL-NAME PIC X(8) VALUE "A89".
               05  EZEAPP-PGM-VERSION.
                   10  EZEAPP-GEN-DATE PIC X(8) VALUE "20130828".
                   10  EZEAPP-GEN-TIME PIC X(8) VALUE "17142753".
     

    In the above example, you can see that this program is called A89 and was generated on 2013/08/28 at a time of 17:14:27.53. Of course the formatting characters are not there, but the text is.

    This information is also displayed in the load module (if you like searching load modules) , however the order might be different, depending on the way cobol's literal pool is organized. For example, the data is in my load module as follows, which seems to be the individual keywords in reverse order, but still left-to-right for the actual bytes:

    MVSBATCH1714275320130828A89     ELARHAPPSYSOUT

    If you are looking for this information in a dump, then the order will be the same as the cobol source I pasted above. Typically, I search a dump by looking for the ELARHAPP keyword immediately followed by the program name I am interested in.

     

  • Jeff.Douglas
    Jeff.Douglas
    241 Posts

    Re: Display MOD and TS in Load with qualifier

    ‏2013-08-29T13:33:17Z  

    The generated cobol code already includes that information in the application profile control block. This control block is placed at the start of the EGL program. Here is an example:

           01  EZEAPP-PROFILE SYNCHRONIZED.
               05  FILLER PIC X(8) VALUE "ELARHAPP".
               05  EZEAPP-APPL-NAME PIC X(8) VALUE "A89".
               05  EZEAPP-PGM-VERSION.
                   10  EZEAPP-GEN-DATE PIC X(8) VALUE "20130828".
                   10  EZEAPP-GEN-TIME PIC X(8) VALUE "17142753".
     

    In the above example, you can see that this program is called A89 and was generated on 2013/08/28 at a time of 17:14:27.53. Of course the formatting characters are not there, but the text is.

    This information is also displayed in the load module (if you like searching load modules) , however the order might be different, depending on the way cobol's literal pool is organized. For example, the data is in my load module as follows, which seems to be the individual keywords in reverse order, but still left-to-right for the actual bytes:

    MVSBATCH1714275320130828A89     ELARHAPPSYSOUT

    If you are looking for this information in a dump, then the order will be the same as the cobol source I pasted above. Typically, I search a dump by looking for the ELARHAPP keyword immediately followed by the program name I am interested in.