Problem with PFKeys

Dear sirs,

I having problem with an screen that we have PF Keys. Enclosed the screen in question.

Please say me what I have to do in Visual Cobol for Eclipse  for  configure ADISCF.

TKS

 

  • If you already have an ADISCTRL file that you were using in Net Express then you should just be able to copy it into your output folder along with your executables and it should be picked up when you run.

    There is also a default ADISCTRL file in the folder c:\program files (x86)\micro focus\visual cobol\etc that can be modified.

    By default the functions keys are turned off.

    To modify this create a new folder on your system and copy this ADISCTRL file to the new folder.

    I created c:\testad and copied ADISCTRL to it.

    Then open up a Visual COBOL 32-bit command prompt from Start menu-->Micro Focus Visual COBOL-->Tools.

    cd to your new folder

    cd \testad

    start the program adiscf

    Press F2 Alter and then F3 Accept/Display Options.

    Then Press F3 Individual Options and select option 1 User Function key enable/disable.

    Select option 2 to enable the function keys.

    Press Esc 3 times to return to main menuPress F4 to save and F3 to overwrite existing configuration.

    Press enter to overwrite the default configuration.

    Press Esc to quit.

    Copy the ADISCTRL file that you just modified to the output folder of your project.

    The function keys should now work.

    If you need to make any more changes to ADISCTRL you can do so in the same manner.

    ----------------------------

    You can also bypass the copying step by changing the default permissions on the ADISCTRL file in the etc folder so that it is not read only and then you can start ADISCF from a Visual COBOL command prompt and it will modify the default version.

    This version will be picked up by the run-time system so you do not have to copy it into the output folder.

    Thanks.

  • Chris,

    Now I am in the adiscf screen and within of LOOP becouse Ihave to push PF2 or PF3 and the pfkeys not run....

  • Chris,

    Now I am in the adiscf screen and within of LOOP becouse Ihave to push PF2 or PF3 and the pfkeys not run....

  • Is this on Windows or Linux?

    The ADISCF utility does not itself use the ADISCTRL file so this does not make sense to me and might have nothing to do with the adis setup at all.

    .

    Do your function keys work in other applications like MS-Word, etc?

    Can you press F1 in Word to get help?

    Thanks.

  • One possibility is that function keys are not enabled as function keys on the keyboard.  I have a Microsoft keyboard that has an F Lock button in the upper right area and an F LOCK light in addition to the Numeric Lock, Shift Lock and Scroll Lock lights.  If F Lock is not enabled, the function keys are reassigned to Microsoft specific functions (Help, Undo, Redo, New, Open, CLose, Reply, Fwd, Send, Save and Print).

  • One possibility is that function keys are not enabled as function keys on the keyboard.  I have a Microsoft keyboard that has an F Lock button in the upper right area and an F LOCK light in addition to the Numeric Lock, Shift Lock and Scroll Lock lights.  If F Lock is not enabled, the function keys are reassigned to Microsoft specific functions (Help, Undo, Redo, New, Open, CLose, Reply, Fwd, Send, Save and Print).

  • Chis,

    You are right...PF1 don´t work with MS-Word too.....

  • Chis,

    You are right...PF1 don´t work with MS-Word too.....

  • Chis,

    You are right...PF1 don´t work with MS-Word too.....

  • The platform is probably Windows, because the screen shot from PedroJuanMontero shows a window with the title: "runmw.exe - Application Output", whereas if it were Unix/Linux, the window would probably be PuTTY or x-term, etc.