InterviewSolution
| 1. |
What Is The Syntax Of Ams Modal Commands? |
|
Answer» The following is the syntax of AMS modal commands: IF LASTCC(or MAXCC) >(or <,= etc..) value - THEN - DO -command set (like DELETE, DEFINE etc..) ELSE - DO -command set where 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 PS: These can be used only under IDCAMS and not from the TSO prompt. The following is the syntax of AMS modal commands: command set (like DELETE, DEFINE etc..) command set where 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 PS: These can be used only under IDCAMS and not from the TSO prompt. |
|