Jugan, Thanks for trying!!. I can't make sense out of what you said, you are making too many assumptions about my knowledge of PCRs; this is brand new to me, you sound like an expert. For example, I don't understand the following expressions in your reply ( "t/t", "HRS=S", "op'n", "DWS"). I do not think your example will work without some kind of setup that you did not explain about xxxx and yyyy. I don't even know what PITxxxx GEN does.
In any event, I solved this by copying the "complex stuff" to the inside of both conditions of my IF statement as follows:
IF ZDSC
"
" complex stuff before
"
"
" new time keeping logic
"
"
" complex stuff after
"
ELSE
"
" complex stuff before
"
"
" old time keeping logic
"
"
" complex stuff after
"
ENDIF