Progress ABL How to Test for WEBSPEED in the PRE-PROCESSOR

Discussão em 'StackOverflow' iniciado por fdantas, Abril 8, 2016.

  1. fdantas

    fdantas Administrator Moderador

    I want to conditionally compile some blocks of code depending on type of client i'm running in. this is fine for batch and tty as i can use the {&BATCH-MODE} but how to test for when the code is being compiled in webspeed agent? eg. {&IF} not {&SOMETHING} EQ "YES" {&THEN} {&ANALYSE-SUSPEND} foo bar {&ANALYSE-RESUME} {&ENDIF} it would be helpful if this did not rely on defines auto generated by the architect in .w's etc but that would be a nice to have not essential.

    Continue reading...

Compartilhe esta Página