Menu

#353 CommandPrompter doesn't take parameter field's protection into account

PCML
open
wanghuiq
None
5
2019-09-16
2014-07-17
KerneL
No

When prompting a command on IBMi, it's possible to prefix parameter fields with ?* to prevent the user from modifying the value of the field.
For example: prompting "ADDLIBLE ?*LIB(MYLIB)" will show up the ADDLIBLE prompt but the LIB parameter will be read-only.

It looks like the CommandPrompter provided with JTOpen doesn't take this feature into account: using *? to protect a field doesn't work, the field is not shown read-only.

Can you please update the CommandPrompter to take these prefixes into account? Thanks in advance.

PS: here is a URL describing each possible prefixes for command prompting:
http://publib.boulder.ibm.com/infocenter/iadthelp/v7r1/index.jsp?topic=/com.ibm.etools.iseries.langref2.doc/secpr.html

Discussion

  • John Eberhard

    John Eberhard - 2014-07-22
    • assigned_to: wanghuiq
     
  • Zhang Ze

    Zhang Ze - 2019-09-16

    See a simlar issue. you can try the latest version JTOpen with oracle java.

     

Log in to post a comment.