How to skip icetool operations based on RC
Posted: Tue Dec 27, 2011 12:51 pm
Hi,
Do we have the facility to use conditional statements in ICETOOL?
(say) IF 'RC of my icetool operation is zero' then
perform a set of icetool operations
else
terminate (do not process the rest of icetool operations)
endif
My concern is, i have to check whether a dataset is empty (used: count operator) and if it is not empty, proceed with the next set of icetool operations, else, terminate the program.
Do we have the facility to use conditional statements in ICETOOL?
(say) IF 'RC of my icetool operation is zero' then
perform a set of icetool operations
else
terminate (do not process the rest of icetool operations)
endif
My concern is, i have to check whether a dataset is empty (used: count operator) and if it is not empty, proceed with the next set of icetool operations, else, terminate the program.