Resource Definition Types and Characteristics

This chapter describes the resource definition types and their characteristics.

1. Overview

This chapter defines different resource definitions provided by OSC. Each resource definition has various settings according to its characteristics. Therefore the administrator needs to accurately set the following resource definitions according to the resources used by the application programs.

Resource Description

CONNECTION

Defines the information used to connect an OSC application server to other OSC application servers.

DOCTEMPLATE

Defines the properties of the document template.

FILE

Defines the elements related to physical data set settings and operations of a file.

JOURNALMODEL

Defines a OSC journal name, the physical data set where an actual record will be written, and connection information.

PROGRAM

Defines the elements related to program control information used to execute a transaction or a part of a transaction.

TDQUEUE

Defines Transient Data Queue (TDQ) properties.

TERMINAL

Defines the characteristics of a terminal that communicates with OSC, and whether or not the terminal is currently used.

TRANCLASS

Defines the elements for controlling a queue count and the number of transactions that can be executed simultaneously by grouping transactions.

TRANSACTION

Defines the elements related to the functions provided by OSC.

TSMODEL

Specifies TSQ properties based on the prefix of the TSQ (Temporary Storage Queue) name.

TYPETERM

Defines the common properties for a terminal group.

LSRPPOL and DB2CONN resources are supported only for parsing.

2. CONNECTION

CONNECTION resource definition defines the information used to connect an OSC application server to other OSC application servers. Unlike CICS, OSC does not also register the SESSION resource definition when registering the CONNECTION resource definition.

The following is a list of the CONNECTION resource definition elements. The "blank" choice indicates a blank space.

DEFINE  CONNECTION(connection_name)
        GROUP(resourcegroup_name)
        DESCRIPTION(resource_description)
        NETNAME(oscserver_name)
        PROTOCOL(blank)
        INSERVICE(NO | YES)
Element Description

CONNECTION

CONNECTION name. (maximum 4 bytes)

DESCRIPTION

Description of the CONNECTION resource definition (maximum 58 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

NETNAME

Name of the OSC server to connect to (maximum 8 bytes).

PROTOCOL

Protocol to use for the connection (currently only 'blank' is available).

  • blank: Connection to OSC application server.

INSERVICE

Option to use the connection information. (NO|YES)

The following is an example of a macro that defines the CONNECTION resource definition OSCA, which contains the connection information to OSC application server OSC00001.

DEFINE  CONNECTION(OSCA)
        DESCRIPTION(CONNECTION SAMPLE)
        GROUP(TESTGRP)
        NETNAME(OSC00001)
        PROTOCOL()
        INSERVICE(YES)

3. DOCTEMPLATE

DOCTEMPLATE resource definition defines the properties of the document template.

The following is a list of the DOCTEMPLATE resource definition elements.

DEFINE  DOCTEMPLATE(doctemplate_name)
        GROUP(resourcegroup_name)
        DESCRIPTION(resource_description)
        DDNAME(DFHHTML | ddname_name)
Element Description

DOCTEMPLATE

Name of the documnet template definition.

DDNAME

The DD name of the partitioned data set (PDS) containing the template. If not specified, the default value is DFHHTML.

APPENDCRLF, MEMBERNAME, TEMPLATENAME, and TYPE properties are supported only for parsing.

The following is an example of a macro that defines the DOCTEMPLATE resource named 'DOC01'.

DEFINE  DOCTEMPLATE(DOC01)
        DESCRIPTION(DOCTEMPLATE SAMPLE)
        GROUP(TESTGRP)
        DDNAME(DFHHTML)

4. FILE

The FILE resource definition defines the elements related to the physical data set settings and operations of the file.

The following is a list of element of the FILE resource definition.

DEFINE  FILE(file_name)
        GROUP(resourcegroup_name)
        DESCRIPTION(resource_description)
        DSNAME(data set_name)
        REMOTESYSTEM(sysid)
        REMOTENAME(file_name)
        ADD(NO | YES)
        BROWSE(NO | YES)
        DELETE(NO | YES)
        READ(NO | YES)
        UPDATE(NO | YES)
        OPENTIME(FIRSTREF | STARTUP)
Element Description

FILE

FILE name. (maximum 8 bytes)

GROUP

Resource definition group name. (maximum 8 bytes)

DESCRIPTION

Description of the FILE resource definition (maximum 58 bytes).

DSNAME

data set name used for file (maximum 44 bytes).

REMOTESYSTEM

SYSID of the remote system (maximum 4 bytes).

REMOTENAME

FILE name used by the remote system (maximum 8 bytes).

ADD

Enables the addition of records to the FILE. (NO|YES)

BROWSE

Enables the sequential browsing of records in the FILE. (NO|YES)

DELETE

Enables the deletion of records from the FILE. (NO|YES)

READ

Enables the reading of records from the FILE. (NO|YES)

UPDATE

Option to update records in the FILE. (NO|YES)

OPENTIME

  • FIRSTREF: The file is opened when the first request is received. Until then, it is closed.

  • STARTUP: The file is opened when the OSC system starts up.

The following is an example of a macro that defines the FILE0001 file, which can only read and add a record from and to the OSC.OSDLIB.FILE0001 data set. FILE00001 enables the add record and read record authorities for application programs but not the search, delete, or modify authorities.

DEFINE  FILE(FILE0001)
        GROUP(TESTGRP)
        DESCRIPTION(FILE SAMPLE)
        DSNAME(OSC.OSDLIB.FILE0001)
        ADD(YES)
        BROWSE(NO)
        DELETE(NO)
        READ(YES)
        UPDATE(NO)

5. JOURNALMODEL

JOURNALMODEL resource definition defines the OSC journal name, the physical data set where the actual record will be written, and the connection information. If the journal name is being used by a previous version of CICS, use the name after changing the type for compatibility.

The following is a list of elements of the JOURNALMODEL resource definition.

DEFINE  JOURNALMODEL(journalmodel_name)
        GROUP(resourcegroup_name)
        DESCRIPTION(resource_description)
        JOURNALNAME(journal_name)
        TYPE(SMF|MVS|DUMMY)
        STREAMNAME(stream_name)
Element Description

JOURNALMODEL

JOURNALMODEL name. (maximum 8 bytes)

GROUP

Resource definition group name (maximum 8 bytes).

DESCRIPTION

JOURNALMODEL resource definition description (maximum 58 bytes).

JOURNALNAME

Journal name (maximum 8 bytes). If the old version of CICS used numbers between 1 and 99 as the journal names, those numbers, for compatibility reasons, are converted to the DFHJnn format (nn is a number between 01 and 99).

TYPE

Location where the journal record will be written.

  • SMF: Write to the SMF data set

  • MVS: Write to MVS LOG STREAM.

  • DUMMY: Do not write a journal record.

STREAMNAME

Log stream name. This is only applicable when TYPE is MVS.

The following is an example of a resource macro that defines JNMODEL2 and JNMODEL3 which write a journal record to the SMF data set. JNMODEL3 are converted to DFHJ03 for compatibility with the old version of CICS.

DEFINE  JOURNALMODEL(JNMODEL2)
        JOURNALNAME(JOURNAL2)
        GROUP(TESTGRP)
        DESCRIPTION(JOURNALMODEL SAMPLE)
        TYPE(SMF)

DEFINE  JOURNALMODEL(JNMODEL3)
        JOURNALNAME(DFHJ03)
        GROUP(TESTGRP)
        DESCRIPTION(JOURNALMODEL SAMPLE)
        TYPE(SMF)

The following is an example of a resource macro that defines JNAUD01 for writing journal records in MVS LOG STREAM.

DEFINE  JOURNALMODEL(JNAUD01)
        JOURNALNAME(JNAUD01)
        GROUP(TESTGRP)
        DESCRIPTION(JOURNALMODEL SAMPLE)
        TYPE(MVS)
        STREAMNAME(JNAUD01.LOGR01.AUDIT)

6. PROGRAM

The PROGRAM resource definition defines the elements related to the program control information to execute a transaction or a part of a transaction.

The following is a list of elements of the PROGRAM resource definition.

DEFINE  PROGRAM(program_name)
        GROUP(resource_name)
        DESCRIPTION(resource_description)
        LANGUAGE(COBOL|PLI)
        REMOTESYSTEM(remote_sysid)
        REMOTENAME(remoteprogranm_name)
Element Description

PROGRAM

PROGRAM name (maximum 8 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

DESCRIPTION

Description of the PROGRAM resource definition (maximum 58 bytes).

LANGUAGE

Programming language used to write the program. (COBOL | PLI)

REMOTESYSTEM

SYSID of the remote system (maximum 4 bytes). The setting is required to use DPL (Distributed Program Link) requests. In order to connect to the remote system, the CONNECTION resource definition name must match the REMOTESYSTEM name.

REMOTENAME

Program name used by the remote system (maximum 8 bytes).

  1. For more information about the DPL request, refer to OpenFrame OSC Developer’s Guide.

  2. The BATCH MTPBATCH command (PHAS <program_name>) can be used to phase in a program.

The following example is a resource definition macro which defines the OIVPMAIN program written in COBOL.

DEFINE  PROGRAM(OIVPMAIN)
        GROUP(OIVP)
        DESCRIPTION(PROGRAM SAMPLE)
        LANGUAGE(COBOL)

7. TDQUEUE

The TDQUEUE resource definition defines the TDQ (Transient Data Queue) properties. The main TDQUEUE resource definition elements include filename and the method for using the file..

A TDQ can be divided into three types according to functional characteristics: Extra-partition, Intra-partition, and Log. In terms of management, it can be divided into two types: Indirect and Remote. OSC supports resource definitions for the total five TDQs.

The following is a list of the common elements of each TDQUEUE resource.

DEFINE  TDQUEUE(TDQ_name)
        GROUP(resource_name)
        DESCRIPTION(resource_description)
        TYPE(EXTRA | INDIRECT | INTRA | LOG | REMOTE)
Element Description

TDQUEUE

TDQ name (maximum 4 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

DESCRIPTION

TDQ resource definition description (maximum 58 bytes).

TYPE

TDQUEUE type.

  • EXTRA

  • INDIRECT

  • INTRA

  • LOG

  • REMOTE (Default value)

Added elements are different according to the type. Refer to each section for more information.

7.1. Extra-partition TDQ

The extra-partition TDQ is defined by the following elements when the TDQ type is set to EXTRA.

The following is a list of elements of the extra-partition TDQ resource definition. The "blank" choice indicates a blank space.

DEFINE  .......
        DDNAME(DD_name)
        SYSOUTCLASS(character | * | blank)
        RECORDSIZE(record_size)
        BLOCKSIZE(block_size)
        RECORDFORMAT(blank | FIXED | VARIABLE)
        BLOCKFORMAT(blank | BLOCKED | UNBLOCKED)
        PRINTCONTROL(blank | ASA | MACHINE)
        DISPOSITION(SHR | OLD | MOD)
        DSORG(PS | DA | IS | PO)
        WRITER(blank | INTRDR)
Element Description

DDNAME

DD name specified in JCL (maximum 8 bytes).

SYSOUTCLASS

SYSOUT data set class.

  • Character: Specifies one character from A to Z or 0 to 9.

  • Asterisk (*): Default value.

  • blank: Indicates a blank space.

RECORDSIZE

Record size (Set to maximum value). (Default value: 1)

  • If SYSOUTCLASS is specified, the maximum value is 8968 regardless of the record format.

  • If SYSOUTCLASS is not specified, the maximum value is 32767 regardless of the record format.

BLOCKSIZE

Block size (Set to maximum value).

  • If SYSOUTCLASS is specified and if the record format is VARIABLE, the maximum value is 8,972 and if FIXED, the maximum value is 8,968.

  • If SYSOUTCLASS is not specified, the maximum value is 32,767 regardless of the record format.

RECORDFORMAT

Record format. This must be specified with BLOCKFORMAT.

  • blank (default value)

  • FIXED

  • VARIABLE

BLOCKFORMAT

Block format.

  • blank

  • BLOCKED

  • UNBLOCKED

PRINTCONTROL

Control character.

  • blank

  • ASA

  • MACHINE

DISPOSITION

data set information.

  • SHR

  • OLD

  • MOD

DSORG

DSORG name specified in the JCL.

  • PS

  • DA

  • IS

  • PO

WRITER

WRITER name specified in the JCL.

  • blank

  • INTRDR

The following example is a macro which defines the Extra-partition TDQ EXTD which has the DD name of EXTD and an 80-byte record block with fixed record length.

DEFINE  TDQUEUE(EXTD)
        GROUP(TESTGRP)
        DESCRIPTION(EXTRA TDQ SAMPLE)
        TYPE(EXTRA)
        DDNAME(EXTD)
        RECORDSIZE(80)
        RECORDFORMAT(FIXED)
        BLOCKSIZE(80)
        BLOCKFORMAT(BLOCKED)

7.2. Indirect TDQ

Indirect TDQ is defined by the following elements when the TDQ type is set to INDIRECT.

The following is the element of the indirect TDQ resource definition.

DEFINE     .......
           INDIRECTNAME(Indirect TDQ_name)
Element Description

INDIRECTNAME

Indirect TDQ name (maximum 4 bytes). All TDQ types described in INDIRECTNAME are valid.

The following is an example of the macro which defines INTD, an indirect TDQ, which refers EXTD, a TDQ.

DEFINE  TDQUEUE(INTD)
        GROUP(TESTGRP)
        DESCRIPTION(INDIRECT TDQ SAMPLE)
        TYPE(INDIRECT)
        INDIRECTNAME(EXTD)

7.3. Intra-partition TDQ

Intra-partition TDQ is defined by the following elements when the TDQ type is set to INTRA.

The following is a list of elements of the intra-partition TDQ resource definition. The "blank" choice represents a blank space.

DEFINE     .......
           ATIFACILITY(TERMINAL | FILE)
           RECOVSTATUS(NO | PHYSICAL | LOGICAL)
           FACILITYID(terminal_id)
           TRANSID(trans_id)
           TIGGERLEVEL(TDQrecord_count)
           USERID(User_id)
Element Description

ATIFACILITY

Transaction target when an ATI occurs.

  • TERMINAL: Generates a transaction to the terminal.

  • FILE: Generates only a transaction without the terminal.

RECOVSTATUS

Recovery method when an error occurs.

  • NO: Does not restore.

  • PHYSICAL: Restores to the point in time when changes are reflected in TDQ.

  • LOGICAL: Restores to the point in time when the error occurred even if the changes are not reflected in the TDQ.

FACILITYID

Target terminal identifier when ATIFACILITY is TERMINAL. Specify as blank when ATIFACILITY is specified as FILE (maximum 4 bytes).

TRANSID

Identifier of the transaction generated through the ATI function.

TIGGERLEVEL

Number of TDQ records accumulated before a transaction is generated through the ATI function (maximum value). If TRANSID is specified, the default value is 1, and if it is not specified, the ATI function will not be used. If the ATI function is not used, set TRIGGERLEVEL to 0. The maximum value is 32,767.

USERID

Username to check the security when TRANSID is specified (maximum 8 bytes).

The following example is a macro which defines ITTD, an Intra-partition TDQ, which recovers when an error occurs. The number of records that generate ATI is 100, the generated transaction identifier is OIVP, and the corresponding transaction target is specified as a terminal TTRM.

DEFINE  TDQUEUE(ITTD)
        GROUP(TESTGRP)
        DESCRIPTION(INTRA TDQ SAMPLE)
        TYPE(INTRA)
        ATIFACILITY(TERMINAL)
        FACILITYID(TTRM)
        RECOVSTATUS(LOGICAL)
        TRANSID(OIVP)
        TRIGGERLEVEL(100)

7.4. Log TDQ

Log TDQ is defined by the following elements when the TDQ type is set to LOG.

The following is an element of the log TDQ resource definition.

DEFINE     .......
           DDNAME(DD_name)
Element Description

DDNAME

DD name described in JCL (maximum 8 bytes).

The following example is a macro definition which adds LOGT, a LOG TDQ.

DEFINE  TDQUEUE(LOGT)
        GROUP(TESTGRP)
        DESCRIPTION(LOG TDQ SAMPLE)
        TYPE(LOG)
        DDNAME(LOGD)

7.5. Remote TDQ

Remote TD is defined by the following elements when the TDQ type is set to REMOTE.

The following is a list of elements of the remote TDQ resource definition.

DEFINE     .......
           REMOTENAME(TDQ_name)
           REMOTESYSTEM(remote_sysid)
Element Description

REMOTENAME

TDQ name used by the remote system (maximum 8 bytes).

REMOTESYSTEM

SYSID of the remote system (maximum 4 bytes).

The following example is a macro that defines RTDQ. The SYSID of the remote system is EXTD, and the TDQ name used by the remote system is OSCA.

DEFINE  TDQUEUE(RTDQ)
        GROUP(TESTGRP)
        DESCRIPTION(REMOTE TDQ SAMPLE)
        REMOTESYSTEM(OSCA)
        REMOTENAME(EXTD)

8. TERMINAL

The TERMINAL resource definition defines the characteristics of the terminal that communicates with OSC, and whether the terminal is currently used.

The following is a list of elements of the TERMINAL resource definition.

DEFINE     TERMINAL(terminal_name)
           GROUP(rsourcegroup_name)
           AUTINSTMODEL(NO | YES | ONLY)
           AUTINSTNAME(autoinstallmodel_name)
           DESCRIPTION(resource_description)
           TYPETERM(TYPETERM_name)
           NETNAME(teminalLU_name)
           INSERVICE(NO | YES)
           ALTPRINTCOPY(NO | YES)
           ALTPRINTER(printer_name)
           PRINTCOPY(NO | YES)
           PRINTER(printer_name)
Element Description

TERMINAL

TERMINAL name (maximum 4 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

AUTINSTMODEL

Option to use terminal definitions as AUTO-INSTALL TERMINAL. This option allows a terminal LU name that is not defined in the TERMINAL resource to log on automatically by getting the terminal resource defined by AUTINSTMODEL.

  • NO: Does not use as AUTO-INSTALL TERMINAL model. (Default)

  • YES: Allows terminal LUs accessed with NETNAME specified in the terminal definition and as well as AUTO-INSTALL TERMINAL model.

  • ONLY: Uses only as AUTO-INSTALL TERMINAL model.

AUTINSTNAME

AUTO-INSTALL TERMINAL model name to use as AUTINSTMODEL. (Up to 8 bytes).

DESCRIPTION

Description of the TERMINAL resource definition (maximum 58 bytes).

TYPETERM

TYPETERM name related to TERMINAL (maximum 8 bytes).

NETNAME

TERMINAL LU name (maximum 8 bytes). NETNAME must be unique in the same application server.

INSERVICE

Terminal status.

  • NO: The terminal cannot receive messages or send inputs.

  • YES: The terminal can initialize transactions and automatically receive messages or send inputs.

ALTPRINTCOPY

Option to enable printing with the printer specified in the ALTPRINTER field.

  • NO: Disables printing.

  • YES: Enables printing.

ALTPRINTER

Alternate printer name, which is used when the printer specified in the PRINTER field is unavailable (maximum 4 bytes). The alternate printer name must be defined as a TERMINAL resource.

PRINTCOPY

Option to enable printing with the printer specified in the PRINTER field. If the PRINTER is unavailable for use, the print task is delivered to the ALTPRINTER.

  • NO: Disables printing.

  • YES: Enables printing.

PRINTER

Printer name (maximum 4 bytes). The printer name must be defined as a TERMINAL resource.

The following is an example of a macro which defines TTRM terminal, which has TESTTERM as the NETNAME and TESTTTRM as the TYPETERM. The TTRM terminal is set up to print out with PRNT after receiving a print request. PRNT must be defined as a TERMINAL resource. If PRNT cannot be used, printing fails.

DEFINE  TERMINAL(TTRM)
        GROUP(TEST)
        DESCRIPTION(TERMINAL SAMPLE)
        TYPETERM(TESTTTRM)
        NETNAME(TESTTERM)
        INSERVICE(YES)
        PRINTCOPY(YES)
        PRINTER(PRNT)

9. TRANCLASS

The TRANCLASS resource definition defines the elements for controlling a queue count and the number of transactions that can be executed simultaneously by grouping transactions. The TRANCLASS function is supported by configuring the Tmax server, therefore Tmax needs to be configured according to the resource definition. The oscadmin tool provides a function that automatically displays the Tmax configuration. For more information, refer to OpenFrame Tool Reference Guide.

The following is a list of elements of the TRANCLASS resource definition.

DEFINE     TRANCLASS(transaction_id)
           GROUP(rsourcegroup_name)
           MAXACTIVE(number)
           PURGETHRESH(NO | number)
Element Description

TRANCLASS

TRANCLASS name (maximum 8 bytes).

GROUP

Resource definition group (maximum 8 bytes).

MAXACTIVE

Number of transactions that can be simultaneously executed. This function is supported by the Tmax server’s MAX configuration.

PURGETHRESH

Requests that exceed a configured value are treated as an error when a queue is accumulated and transaction requests are overloaded. This function is supported by the Tmax server’s MAXQCOUNT configuration.

  • NO: Infinite queue size

  • number

The following example is a macro that defines TCL1 TRANCLASS. The number of simultaneously executable transactions is 3, and only up to 10 transaction requests can wait in a queue.

DEFINE  TRANCLASS(TCL1)
        GROUP(DFHGRP)
        MAXACTIVE(3)
        PURGETHRESH(10)

10. TRANSACTION

The TRANSACTION resource definition defines the elements related to the functions provided by OSC.

An OSC application program is composed of one or more programs that provide specific functions. A request for this program is a transaction. OSC identifies these transactions with a transaction identifier (TRANSID).

The following are descriptions for each element of the TRANSACTION resource definition.

DEFINE     TRANSACTION(transaction_id)
           GROUP(rsourcegroup_name)
           DESCRIPTION(resource_description)
           PROGRAM(program_name)
           RESSEC(NO | YES)
           SHUTDOWN(DISABLED | ENABLED)
           TWASIZE(TWA_size)
Element Description

TRANSACTION

Transaction name or identifier (maximum 8 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

DESCRIPTION

Transaction resource definition description (maximum 58 bytes).

PROGRAM

Name of the program that sends control information to execute the specified transaction (maximum 8 bytes).

REMOTESYSTEM

SYSID of the remote system. (maximum 4 bytes)

REMOTENNAME

Name of the transaction used in the remote system. (maximum 8 bytes)

RESSEC

Option to check security for resources that are accessed by the specified transaction.

  • NO: user can access all resources.

  • YES: user can access only the resources for which the user is authorized by TACF.

SHUTDOWN

Option to allow execution of the specified transaction during the OSC shutdown process. The transaction must be described in XLT.

  • DISABLED: Disables the execution of the transaction during the OSC shutdown process.

  • ENABLED: Enables the execution of the transaction during the OSC shutdown process.

TRANCLASS

TRANCLASS name that contains a transaction. The default value can be specified in the region configuration file.

TWASIZE

TWA size allocated to transaction. (Default value: 0, maximum value: 32,767)

The following example is a resource definition macro which defines the transaction OIVP. The program name is set to OIVPMAIN, the security check will be executed, and TWASIZE is set to 255.

DEFINE  TRANSACTION(OIVP)
        GROUP(OIVP)
        DESCRIPTION(TRANSACTION SAMPLE)
        PROGRAM(OIVPMAIN)
        RESSEC(YES)
        SHUTDOWN(DISABLED)
        TRANCLASS(TCL1)
        TWASIZE(255)

11. TSMODEL

The TSMODEL resource definition specifies the TSQ properties according to the prefix of the TSQ (Temporary Storage Queue) name. The TSMODEL resource definition defines the TSMODEL name and the prefix of TSQ to which this TSMODEL is applied, and sets LOCATION and RECOVERY elements as the corresponding TSQ properties.

The following are descriptions for elements of the TSMODEL resource definition.

DEFINE     TSMODEL(TSMODEL_name)
           GROUP(rsourcegroup_name)
           DESCRIPTION(resource_description)
           PREFIX(TSQ_prefix)
           LOCATION(AUX | MAIN)
           RECOVERY(NO | YES)
           SECURITY(NO | YES)
           REMOTESYSTEM(remote_sysid)
Element Description

TSMODEL

TSMODEL name (maximum 8 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

DESCRIPTION

TSMODEL resource definition description (maximum 58 bytes).

PREFIX

TSQ prefix that is applied by TSMODEL (maximum 16 bytes).

LOCATION

Location of the TSQ that is applied by TSMODEL.

  • AUX: Stored on disk.

  • MAIN: Stored in memory.

RECOVERY

Option to perform recovery if an error occurs in a TSQ that is based on TSMODEL. (NO|YES)

SECURITY

Option to check the security of the TSQ to which TSMODEL is applied. (NO|YES)

REMOTESYSTEM

SYSID of the remote system (maximum 4 bytes). In order to connect to the remote system, the CONNECTION resource definition name must match the REMOTESYSTEM name.

The following example is a macro which defines TSMODEL to select the storage space for TSQ starting with TEST, to not use the recovery function, and to use the security check function.

DEFINE  TSMODEL(TESTTSML)
        GROUP(TESTGRP)
        DESCRIPTION(TSMODEL SAMPLE)
        LOCATION(MAIN)
        PREFIX(TEST)
        RECOVERY(NO)
        SECURITY(YES)

12. TYPETERM

The TYPETERM resource definition defines the common properties for the terminal group. If there are terminals which have the same properties, specify the properties for the TYPETERM resource definition, and specify the TYPETERM name for each TERMINAL resource definition in order for multiple terminals to act in the same way. Each TERMINAL resource definition must specify the TYPETERM resource name.

If the TYPETERM resource definition is used, the administrator does not need to set the individual terminals, reducing the time and potential for administrator error during the setting process.

The following are descriptions of elements of the TYPETERM resource definition.

DEFINE     TYPETERM(TYPETERM_name)
           GROUP(rsourcegroup_name)
           DESCRIPTION(resource_description)
           DEVICE(device_type)
           TERMMODEL( 1 | 2 )
           LOGONMSG(NO | YES)
           AUDIBLEALARM(NO | YES)
           COLOR(NO | YES)
           HILIGHT(NO | YES)
           KATAKANA(NO | YES)
           OUTLINE(NO | YES)
           PROGSYMBOLS(NO | YES)
           VALIDATION(NO | YES)
           FORMFEED(NO | YES)
           SOSI(NO | YES)
           BACKTRANS(NO | YES)
           IOAREALEN(length_byte)
           USERAREALEN(length_byte)
           ATI(NO | YES)
           TTI(NO | YES)
           CREATESESS(NO | YES)
           ALTSCREEN(rows,columns)
           DEFSCRREN(rows,columns)
Element Description

TYPETERM

TYPETERM name (maximum 8 bytes).

GROUP

Resource definition group name (maximum 8 bytes).

DESCRIPTION

Description of the TYPETERM resource definition (maximum 58 bytes).

DEVICE

DEVICE type (maximum 8 bytes).

TERMMODEL

Terminal model number.

  • 1: For terminals that support 12X40 columns, or 3275 Display Station Model 11.

  • 2: For terminals that support 24X80 columns, or 3275 Display Station Model 12.

LOGONMSG

Option to support the Good Morning transaction. (NO|YES)

AUDIBLEALARM

Option to enable warning sounds. (NO|YES)

COLOR

Option to support extended color. (NO|YES)

HILIGHT

Option to support the highlight functions such as reverse, underline, and blink. (NO|YES)

KATAKANA

Option to support katakana. (NO|YES)

OUTLINE

Option to support outlining. (NO|YES)

PROGSYMBOLS

Option to support Programmed Symbol Facility. (NO|YES)

VALIDATION

Option to support MANDATORY FILL and MANDATORY ENTER. (NO|YES)

FORMFEED

Option to support FORMFEED. (NO|YES)

SOSI

Option to support mixed mode (1- and 2-byte characters mixed). (NO|YES)

BACKTRANS

Option to support background transparency. (NO|YES)

IOAREALEN

Length of terminal input and output that can be transmitted (minimum value, maximum value). The maximum value is 32,767.

USERAREALEN

Size of TCTUA. The default, minimum, and maximum values are 0, 0, and 32,767 respectively.

ATI

Option to allow ATI request via either the START command in a terminal or TDQueue of the intra-partition. (NO|YES, default value: NO)

TTI

Option to allow a transaction to be started in a terminal. (NO|YES, default value: YES)

CREATESESS

Option to automatically connect to a region when a terminal receives an ATI request and is not connected to the region. (NO|YES, default value: NO)

ALTSCREEN

Option to set the screen size to be used in the transaction specified as the ALTERNATE screen size in the PROFILE definition. (rows: size of rows, columns: size of columns)

The currently supported ALTERNATE screen sizes are (24,80), (32,80), (43,80), and (27,132).

DEFSCREEN

Option to set the screen size to be used in the transaction specified as the default screen size in the PROFILE definition. (rows: size of rows, columns: size of columns)

The currently supported default screen size is (24,80).

The following is an example of a macro which defines TYPETERM named TESTTTRM. It disables the alarm function, enables extended color, supports highlight effects (such as reverse, underline, and blink effects), sets the terminal input/output value length from 512 to 4,096 bytes, supports Japanese KATAKANA, supports the outline of fields, supports the Programmed Symbol Facility, specifies 2-byte characters, disables the conversion of lower case to upper case, sets the screen size to 24X80, and sets TCTUA to 128 bytes. In the transaction, the ALTERNATE screen size with the specified PROFILE definition is 27X132, and the default screen size with the specified PROFILE definition is 24X80.

DEFINE  TYPETERM(TESTTTRM)
        GROUP(TESTGRP)
        DESCRIPTION(TYPETERM SAMPLE)
        AUDIBLEALARM(NO)
        COLOR(YES)
        HILIGHT(YES)
        IOAREALEN(512,4096)
        KATAKANA(YES)
        OUTLINE(YES)
        PROGSYMBOLS(YES)
        SOSI(YES)
        TERMMODEL(2)
        USEARAREALEN(128)
        ATI(YES)
        TTI(YES)
        CREATESESS(YES)
        ALTSCREEN(27,132)
        DEFSCREEN(24,80)

13. URIMAP

You can define the URIMAP resource when you are using OSC as an HTTP client or server to specify the HOST and PATH. You can send/receive requests to/from an external server/client corresponding to the HOST and PATH. When a request is received from an external client through URIMAP, you can specify the ANALYZER and Alias Transaction, which is the name of the transaction that is mapped when the DFHWBA program starts. You can also specify a PROGRAM name to use to handle a specific request.

The following describes each item in the URIMAP resource definitions.

DEFINE     URIMAP(URIMAP_name)
           GROUP(rsourcegroup_name)
           STATUS(ENABLED | DISABLED)
           PATH(path)
           SCHEME(HTTP)
           USAGE(SERVER | CLIENT)
Element Description

URIMAP

URIMAP name. (Up to 8 bytes)

GROUP

Resource definition group. (Up to 8 bytes)

STATUS

Option to enable or disable URIMAP definition. (ENABLED | DISABLED)

PATH

PATH to send or receive requests.

SCHEME

Set to HTTP.

USAGE

Option to operate as a web server or client. (SERVER | CLIENT)

13.1. WEB Server URIMAP

You can define WEB Server URIMAP when URIMAP USAGE is SERVER.

The following describes each item in the WEB Server URIMAP resource definitions.

DEFINE  .......
        HOST(hostname | *)
        TCPIPSERVICE(name)
        MEDIATYPE(type)
        ANALYZER(NO | YES)
        CONVERTER(name)
        TRANSACTION(name)
        PROGRAM(name)
Element Description

HOST

Hostname.

TCPIPSERVICE

TCPIPSERVICE resource name that defines attributes, such as port. The URM of the specified TCPIPSERVICE is called when using the ANALYZER program.

MEDIATYPE

MEDIATYPE of the response. (Example: text/xml or text/html)

ANALYZER

Option to use ANALYZER.

CONVERTER

CONVERTER name.

TRANSACTION

Alias Transaction. This is the transaction name to use to call a DFHWBA program.

PROGRAM

Program to use to respond to request.

13.2. WEB Client URIMAP

You can define WEB Client URIMAP when URIMAP USAGE is CLIENT.

The following describes each item in the WEB Client URIMAP resource definitions.

DEFINE     .......
           HOST(hostname)
           PORT(NO | PORT)
Element Description

HOST

Hostname of the external server.

PORT

PORT of the external server. If set to NO, the protocol PORT number specified in SCHEME is used.

14. TCPIPSERVICE

You can define the TCPIPSERVICE resource for external communication by setting OSC TCP. OSC uses TCPIPSERVICE by integrating it with URIMAP to specify an ANALYZER program or an alias transaction for a request received through URIMAP.

The following describes each item in the TCPIPSERVICE resource definitions.

DEFINE     TCPIPSERVICE(TCPIPSERVICE_name)
           GROUP(rsourcegroup_name)
           URM(program_name)
           PORTNUMBER(port)
           STATUS(OPEN | CLOSED)
           PROTOCOL(HTTP)
           TRANSACTION(CWBA | transaction)
Element Description

TCPIPSERVICE

TCPIPSERVICE name. It can be up to 8 bytes.

GROUP

Resource definition group. It can be up to 8 bytes.

URM

ANALYZER program.

PORTNUMBER

Port number used to receive requests.

STATUS

Whether to receive a request.

PROTOCOL

Only HTTP protocol is supported.

TRANSACTION

Alias transaction name. (Default value: CWBA)