IBM Support

GDX Criteria control files: New print not working, or no output from _crit.ctrl file, or zero-byte output file generated.

Troubleshooting


Problem

GDX Criteria control files: New print not working, or no output from _crit.ctrl file, or zero-byte output file generated.

Symptom

PART: Prints 6.2 SP3 DCS

My criteria control file (abcdefg_crit.ctrl) works fine when I call GDX from the command prompt, but when I run it from DCS, I get no output.

What needs to be included in the crit.ctrl file for it to be used correctly by Yantra?

Cause

Resolving The Problem

We have to add the following lines in the section WRITETODATAFILE of segment fields in the criteria control file.

GEN_CRITERIA1 CHAR %1s NM
GEN_CRITERIA2 CHAR %1s NM
GEN_CRITERIA3 CHAR %1s NM
GEN_CRITERIA4 CHAR %1s NM
GEN_CRITERIA5 CHAR %1s NM
SPL_GEN_CRITERIA1 CHAR %1s NM
SPL_GEN_CRITERIA2 CHAR %1s NM
SPL_GEN_CRITERIA3 CHAR %1s NM
SPL_GEN_CRITERIA4 CHAR %1s NM
SPL_GEN_CRITERIA5 CHAR %1s NM

These lines has to be there to run gdx for criteria control file. When you run GDX without these lines, the output wont get generated.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49633

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21535856