IBM Support

DCF formatting errors in conjunction with SIB parameters

Question & Answer


Question

Which considerations apply to SIB parameter values used as indexes for DCF variables?

Answer

If you want to use SIB parameter values as indexes for DCF variables, you must consider that leading blanks in the index value can cause formatting problems resulting in DCF error messages such as the following:

INVALID KEYWORD FOR CONDITION ON .IF.
'.SYBETRS01' LINE 220: .if 'SYEMPFART( 1) eq 'VOV

In this example the index "( 1)" of variable SYEMPFART causes the problem because it contains a leading blank.

When forwarding the index to ASF using SIB type 1 parameters the programmers of the calling application program must ensure that they omit leading blanks in SIB parameter values unless otherwise needed.

[{"Product":{"code":"SSEPRA","label":"Application Support Facility"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Document Composition (DCF\/SCRIPT)","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Product":{"code":"SSEPRA","label":"Application Support Facility"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"","label":null}],"Version":"","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
03 August 2018

UID

swg21009412