Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Syntax of AMS modal commands ?

AMS commands modal syntax
0
Posted

Syntax of AMS modal commands ?

0

Note: these can be used only under IDCAMS and not from the TSO prompt. IF LASTCC(or MAXCC) >(or <,= etc..) value - THEN - DO - command set (such as DELETE, DEFINE etc..) ELSE - DO - command set LASTCC - Condition code from the last function(such as delete) executed MAXCC - Max condition code that was returned by any of the prev functions SET is also a valid AMS command. SET LASTCC (or MAXCC) = value The maximum condition code is 16. A cond code of 4 indicates a warning. A cond code of 8 is usually encountered on a DELETE of a dataset that is not present.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.