Skip to main content

This article explains how to specify an ASCII collating sequence for FCT entries.

Problem:

FCT entries added via the CASRDTUP utility have an EBCDIC collating sequence; how can I specify an ASCII collating sequence?

Resolution:

The default collating sequence when adding a new FCT entry via casrdtup is EBCDIC. The behavior is the same when an FCT is added via ESMAC. New entries have EBCDIC collating unless ASCII collating is specifically coded in the FCT entry.

The collating sequence is a Micro Focus extension to the FCT entry. The Micro Focus extensions to CICS resource definitions are not shown by default when exported using casrdtex.

The command:

casrdtex /osample.rdt /gFCTSAMP1 /f

generates an export file containing:

DEFINE FILE(MFSAMPLE) GROUP(FCTSAMP1)
DSNAME(MFSAMPLE.ONLINE.MASTER) STATUS(ENABLED) OPENTIME(FIRSTREF) RECORDFORMAT(F) ADD(YES) BROWSE(YES) DELETE(YES) READ(YES) UPDATE(YES) RECOVERY(BACKOUTONLY)

To see extended attributes, use the '/e' flag with casrdtex. For example, the command:

casrdtex /osample.rdt /gFCTSAMP1 /e

generates an export file containing:

DEFINE FILE(MFSAMPLE) GROUP(FCTSAMP1)
DSNAME(MFSAMPLE.ONLINE.MASTER) STATUS(ENABLED) OPENTIME(FIRSTREF) RECORDFORMAT(F) ADD(YES) BROWSE(YES) DELETE(YES) READ(YES) UPDATE(YES) RECOVERY(BACKOUTONLY) _STARTEMPTY(NO) _DUPKEY(NO) _FILEFORMAT(MICROFOCUS) _USECATALOG(YES) _COLLSEQ(EBCDIC)

The Micro Focus FCT extensions are preceded by '_'.

To specify an ASCII collating sequence, using a text editor, change:

_COLLSEQ(EBCDIC)

to

_COLLSEQ(ASCII)

Run casrdtup to import the modified FCT entries to the ES/MTO resource definition file.

Incident Number: 2263333

Old KB# 14403

#MFDS
#EnterpriseDeveloper