PDA

View Full Version : F5 in code edit



Guest.Visitor
05-20-2002, 01:27 AM
Is it possible (like on the AS/400) that pressing the F5 key , all 'CC' or 'MM' commands go away ?

batthish@ca.ibm.com
05-21-2002, 10:45 AM
Hi Sergio, Technically F5 should work, but it looks like there is a bug :-) I will open an APAR shortly to track the problem. Here is a circumvention that I cooked up. 1) you will need to create a macro called CLEAN.LX (which will clean up the prefix area) in your user macro directory. Here is the content of the macro: /* clear prefix area */ 'EXTRACT LINENUMBER' 'EXTRACT POSITION' 'TOP' 'EXTRACT LINES' into numLines i=0; do while (i<numLines) 'SET PREFIXENTRY' 'NEXT ELEMENT' i=i+1 end 'FIND ELEMENT 'linenumber 'SET CURSORCOL 'position 2) You will need to modify your PROFILE.LX file to include the following line (at the end of the file): 'SET ACTION.F5 ;MACRO SEUCMD RESTORE;MSG ;MACRO CLEAR' This should make F5 work as you expect until we provide a fix. Thanks, Violaine Batthish CODE Project Lead Toronto Lab, IBM Canada

batthish@ca.ibm.com
05-24-2002, 03:43 AM
Oops, I noticed that I said to call the macro CLEAN.LX, but it should be CLEAR.LX since I also said to include the following line in profile.LX: 'SET ACTION.F5 ;MACRO SEUCMD RESTORE;MSG ;MACRO CLEAR' Sorry! Violaine Batthish CODE Project Lead Toronto Lab, IBM Canada