ADPACOPY's CSTART Macro: parameter SYSTEM= values
search cancel

ADPACOPY's CSTART Macro: parameter SYSTEM= values

book

Article ID: 204510

calendar_today

Updated On:

Products

Telon Application Generator

Issue/Introduction

CA Telon's program, ADPACOPY, utilizes a CA Telon macro, CSTART, which is located in the Telon CAWLMAC library.  This macro has a parameter SYSTEM= that can have the following values: DLS, ALL, ILC, and ILS.  Please provide more information on the meaning of these four values.

Environment

CA Telon Application Generator, release 5.1

Resolution

Here is the information on various SYSTEM parameters (ILC, ILS, DLS & ALL) for the CA Telon CSTART macro.

The SYSTEM parameter "ILC" & "ILS" for CSTART macro is to make utility ADPACOPY LE compliant. In the case of ILC, LE macro "CEEENTRY" is called with the below parameters.

CEEENTRY PPA=TLNPPA,
AUTO=SWASIZE,
MAIN=YES, --- (for ILS this is set to NO)
NAB=YES,
PARMREG=1,
BASE=10,
EXECOPS=YES,
HOOK=NO,
PLIST=HOST

The parameter "MAIN=YES" indicates that the ADPACOPY is the main routine and the Language Environment should be brought up.

The other SYSTEM parameters i.e. "ALL" & "DLS" just code the ADPACOPY program entry with standard conventions. And it also makes ADPACOPY non-LE compliant as CEEENTRY is not called in this case. There are not any known differences in "ALL" & "DLS" parameters other than a few equates (which are not relevant to ADPACOPY utility). So for ADPACOPY, these two system parameters ("ALL" & "DLS") are the same.

There is a possibility of complications if the main routine (non LE compliant) calls other LE compliant COBOL/assembler subroutines, and the LE environment is not up/initialized.