Telon 4.1 to Telon 5.1 Compile difference
search cancel

Telon 4.1 to Telon 5.1 Compile difference

book

Article ID: 247672

calendar_today

Updated On:

Products

Telon Application Generator

Issue/Introduction

After upgrading Telon to v51 we are experiencing a COBOL compile difference.

Telon 4.1 had;

 IMS-ALTERNATE-ENTRY SECTION.                            
******************************************************** 
* A L T E R N A T E   E N T R Y   F O R   O U T P U T  * 
*    C A L L E D   V I A   D Y N A M I C   L I N K     * 
******************************************************** 
   ENTRY 'ABLTSC45' USING    LINK-XFER-AREA    

Telon 5.1 has;      

  IMS-ALTERNATE-ENTRY SECTION.                           
 ********************************************************
 * A L T E R N A T E   E N T R Y   F O R   O U T P U T  *
 *    C A L L E D   V I A   D Y N A M I C   L I N K     *
 ********************************************************
    ENTRY 'ABLXMC45' USING    LINK-XFER-AREA          


  .                

Environment

Release : 5.1

Component : Telon Application Generator

Resolution

Looking at your Telon 4.1, and Telon 5.1 PGMNAMES macro, there are  custom changes that need to be retrofitted from Telon 4.1 to Telon 5.1.

For example for the Telon 4.1 PGMNAMES macro;
.**********************************************************************
.*  STEP 3A - SET HEADER NAME FOR COBOL PROGRAMS                        
.*       DETERMINE WHAT (IF ANY) CHARACTERS YOU WOULD LIKE TO BE        
.*       PLACED BETWEEN THE HEADER AND ID OF YOUR PROGRAMS, BY TYPE.    
.********************************************************************** 
&PGMBHDR SETC '&SHEADER.TS'       PROGRAM HEADER BATCH PROGRAM     JB   
&PGMTHDR SETC '&SHEADER.TS'       PROGRAM HEADER TSO TEST PROGRAM  JB   
&PGMIHDR SETC '&SHEADER.TS'       PROGRAM HEADER IMS DYNAM/DRIVER  JB   
&PGMSHDR SETC '&SHEADER.TS'       PROGRAM HEADER IMS STATIC SUBPRG JB   
&PGMLHDR SETC '&SHEADER.TS'       PROGRAM HEADER IMS ALIAS         JB   
&PGCPHDR SETC '&SHEADER.TS'       PROGRAM HEADER CICS              JB   
&PGCCHDR SETC '&SHEADER.TS'       PROGRAM HEADER CICS CLIENT       JB   
&PGCSHDR SETC '&SHEADER.TS'       PROGRAM HEADER CICS SERVER       JB   
&PGNPHDR SETC '&SHEADER.TS'       PROGRAM HEADER CICS NONTERM      JB   
&PGSPHDR SETC '&SHEADER.TS'       PROGRAM HEADER STORED PROCEDURE  JB   
.********************************************************************** 

Which generated;

ENTRY 'ABLTSC45' USING    LINK-XFER-AREA  

For the default Telon 5.1 PGMNAMES macro as delivered;

.**********************************************************************
.*  STEP 3A - SET HEADER NAME FOR COBOL PROGRAMS                       
.*       DETERMINE WHAT (IF ANY) CHARACTERS YOU WOULD LIKE TO BE       
.*       PLACED BETWEEN THE HEADER AND ID OF YOUR PROGRAMS, BY TYPE.   
.**********************************************************************
&PGMBHDR SETC '&SHEADER.BP'       PROGRAM HEADER BATCH PROGRAM         
&PGMTHDR SETC '&SHEADER.TM'       PROGRAM HEADER TSO TEST PROGRAM      
&PGMDHDR SETC '&SHEADER.IM'       PROGRAM HEADER IMS DRIVER            
&PGMIHDR SETC '&SHEADER.IM'       PROGRAM HEADER IMS DYNAMIC           
&PGMSHDR SETC '&SHEADER.SM'       PROGRAM HEADER IMS STATIC SUBPROGRAM 
&PGMLHDR SETC '&SHEADER.XM'       PROGRAM HEADER IMS ALIAS             
&PGCPHDR SETC '&SHEADER.CP'       PROGRAM HEADER CICS                  
&PGCCHDR SETC '&SHEADER.CC'       PROGRAM HEADER CICS CLIENT           
&PGCSHDR SETC '&SHEADER'          PROGRAM HEADER CICS SERVER           
&PGNPHDR SETC '&SHEADER.NP'       PROGRAM HEADER CICS NONTERM      

Which generated;

ENTRY 'ABLXMC45' USING    LINK-XFER-AREA  
   

Additional Information

The only significant differences in the PGMNAMES macro are:                  
Telon now allows separate naming conventions for IMS Dynamic and Driver
programs.      
                                                         
Telon also now acquires the length of the program ID by actually measuring it
rather than calculating it, in a way that only worked with programs with 
a 6-character header-ID length.        

Also check the Telon 4.1 and Telon 5.1 TLNIIS macro settings, to see if there is a need to retrofit Telon 4.1 to Telon 5.1 TLNIIS changes.