how can we use ponter in function keys?
if *in03=*off like that instead of this i want to give directly
IF EXIT like that I think some pointers are used to this i am not sure about that please replay me this question.
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzakc/rzakcmstdfindar.htm
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzakc/rzakcmstdfindar.htm
FZZDR917D CF E WORKSTN
F INDDS(SRIND)
D SRIND DS
D*
D* -- Display File Command Key Indi
D EXIT 3 3N
D PROMPT 4 4N
D DELETE 11 11N
D CANCEL 12 12N
DOU EXIT = *ON;
|
ENDDO;
or
IF PROMPT = *ON;
or
IF DELETE = *ON;
or
IF EXIT = *ON OR CANCEL = *ON;
EVAL EXIT = *ON;
LEAVESR;
ENDIF;
Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.
Sloopy | Apr 14 2008 1:56PM GMT
Here, we don’t use indicators with function keys. This frees up 24 indicators. However, in ILE programming we shouldn’t be using many indicators anyway!
If anyone is interested in indicator-less function keys, let me know and I’ll publish the code. I do believe that it’s pretty common knowledge, anyway - and I would bet that Bruce probably does it better!
Regards,
Sloopy
Bvining | Apr 14 2008 2:46PM GMT
I don’t know about better or worse, but I agree with you — I don’t use indicators for function keys either ![]()
NarasimhaReddy | Apr 16 2008 5:02AM GMT
If you are using COBOL, Conditional names can be used to use Indicators in a better way while using seperate indicator area.