I did something I got an error will not take You/us anywhere
... the way i am using it is the correct but still it is giving error...
I would trust the program, more than Your judgement
any decent ISPF based application logic flow for a command is...
( that's the way ISPF itself behaves )
after any action display in the upper right corner a short message
stating that "an error occurred"/the program was not able to do the action requested"/"the requested action completed succesfully"
hitting/stoking/pressing PF1 should display a message box or a two lines
message with a message identifier and a long text more explicative
with the message identifier look at the manual for a still longer description
and usually the action to take or what not do in order to override the issue
again with the scrce info provided the only replies You will get
will be of the tone of my first reply