Previous Topic Next topic Print topic


Create Property Group

Function:

This tool creates an RDz property group with a logical name and adds the SYSLIB information to the property group used for the realtime syntax check support in RDz editors.

Parameters:

Parameter No I/O Type Meaning
1 [M] I String The logical name of the property group.
2 [M] I String The programming language category (see below).
3 [M] I String The full list of system libraries used to resolve dependencies (SYSLIB)and optional compile parameters (see below).
4 [O] I String A Boolean value indicating whether the property group is local.
5 [O] I String A Boolean value indicating whether to replace the property group if it already exists.
6 [O] I String The name of an existing property group. If this parameter is set, the property group with the passed name will be copied and updated with the SYSLIB information specified in the third parameter.

Language category:

An RDz property group contains different named categories. The tool Create Property Group needs to know to which category the SYSLIB information has to be added. The language category is not case sensitive. The following table shows the map from programming languages to the permitted RDz category values.

Property group Language Permitted values as language category
RDz local property group COBOL

PL/I

COBOL

PLI, PL1

RDz remote property group COBOL

PL/I

Assembler

C/C++

COBOL

PLI, PL1

Assembler, ASM

C_CPP, C, CPP, C/CPP

SYSLIB definition:

The SYSLIB definition in the third input parameter has to be defined with key parameters to differentiate between local and remote system files.

The following key parameters are allowed:

  • localsyslib(): for system libraries which are located locally
  • remotesyslib(): for system libraries which are located on a remote system
  • compileoption(): for additional compile options

Rules:

  • The SYSLIB is the input between "key( " and the last ")" before the next key.
  • If no keys are given, the full value of the parameter SYSLIB is interpreted as system libraries which are located on a remote system.
  • If the value of the parameter SYSLIB is blank, the property group will be created with default system libraries, or if the property group template exists, its system libraries will be copied.
  • Local SYSLIB definitions which contain blank characters need to be put in quotation marks.
  • Semicolon in remote SYSLIB definitions will be replaced by space.

Example:

Input = localsyslib("c:\Program File\folder“) remotesyslib(hlq.dev.copylib;hlq.prod.copylib) compileoption( co1 co2)

This input will be interpreted as following:

LocalSyslib = "c:\Program File\folder“

RemoteSyslib= hlq.dev.copylib;hlq.prod.copylib

CompileOption= co1 co2

Previous Topic Next topic Print topic