This works:
=RUN (runmap_name_variable,
IF(UPPERCASE(WORD(Audit_File Fields:RunMapCtl, ".", -1))!="ELG",
/* runmap variable A overrides map inputs/outputs */
"-IF1 '" + path\input_file_name.txt +"'"+
ECHOIN (2, PACKAGE (RunMapCtl)) +
" -OF2 '" + path\output_file_name + "'",
/* runmap variable b passes input/output to next map */
ECHOIN (1, PACKAGE (Input RUNMAP B)) +
ECHOIN (2, PACKAGE (RunMapCtl))
) /* end if */
)/*end run */
And this works:
=RUN (runmap_name_variable,
" -ae '" + seriestotext(field_containing_log_file_name.log)+ "' " +
"-IF1 '" + path\input_file_name.txt +"'"+
ECHOIN (2, PACKAGE (RunMapCtl)) +
" -OF2 '" + path\output_file_name + "'")
And this works
=RUN (runmap_name_variable,
" -ae '" + seriestotext(field_containing_log_file_name.log)+ "' " +
ECHOIN (1, PACKAGE (Input RUNMAP B)) +
ECHOIN (2, PACKAGE (RunMapCtl))
)
This does not:
=RUN (runmap_name_variable,
" -ae '" + seriestotext(field_containing_log_file_name.log)+ "' " +
IF(UPPERCASE(WORD(Audit_File Fields:RunMapCtl, ".", -1))!="ELG",
/* runmap variable A overrides map inputs/outputs */
"-IF1 '" + path\input_file_name.txt +"'"+
ECHOIN (2, PACKAGE (RunMapCtl)) +
" -OF2 '" + path\output_file_name + "'",
/* runmap variable b passes input/output to next map */
ECHOIN (1, PACKAGE (Input RUNMAP B)) +
ECHOIN (2, PACKAGE (RunMapCtl))
) /* end of if */
)/*end of run */
Is this a problem with the my rule or a problem with the tool?
Platform W2K
Version DSTX 6.7.1
=RUN (runmap_name_variable,
IF(UPPERCASE(WORD(Audit_File Fields:RunMapCtl, ".", -1))!="ELG",
/* runmap variable A overrides map inputs/outputs */
"-IF1 '" + path\input_file_name.txt +"'"+
ECHOIN (2, PACKAGE (RunMapCtl)) +
" -OF2 '" + path\output_file_name + "'",
/* runmap variable b passes input/output to next map */
ECHOIN (1, PACKAGE (Input RUNMAP B)) +
ECHOIN (2, PACKAGE (RunMapCtl))
) /* end if */
)/*end run */
And this works:
=RUN (runmap_name_variable,
" -ae '" + seriestotext(field_containing_log_file_name.log)+ "' " +
"-IF1 '" + path\input_file_name.txt +"'"+
ECHOIN (2, PACKAGE (RunMapCtl)) +
" -OF2 '" + path\output_file_name + "'")
And this works
=RUN (runmap_name_variable,
" -ae '" + seriestotext(field_containing_log_file_name.log)+ "' " +
ECHOIN (1, PACKAGE (Input RUNMAP B)) +
ECHOIN (2, PACKAGE (RunMapCtl))
)
This does not:
=RUN (runmap_name_variable,
" -ae '" + seriestotext(field_containing_log_file_name.log)+ "' " +
IF(UPPERCASE(WORD(Audit_File Fields:RunMapCtl, ".", -1))!="ELG",
/* runmap variable A overrides map inputs/outputs */
"-IF1 '" + path\input_file_name.txt +"'"+
ECHOIN (2, PACKAGE (RunMapCtl)) +
" -OF2 '" + path\output_file_name + "'",
/* runmap variable b passes input/output to next map */
ECHOIN (1, PACKAGE (Input RUNMAP B)) +
ECHOIN (2, PACKAGE (RunMapCtl))
) /* end of if */
)/*end of run */
Is this a problem with the my rule or a problem with the tool?
Platform W2K
Version DSTX 6.7.1