KB Article 15514
2018/02/16

Close
X
Contact Tech Support

 Email Tech Support
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base Search
Recent KB Articles
Product FAQs
Code Samples
Documentation
Tech Blog
System Requirements
Installation Instructions
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services

When using the display file timeout, Progen help does not work.

Product: ProGen Plus Type: How to

Problem:

When using the display file timeout, Progen help does not work. This is because when the display timeout is enabled it uses the INVITE keyword on the record format in the DDS.

The INVITE keyword blanks out the record format name in the returned data structure. The ProGen Plus help uses the record format name as a key to the help file. Because the

record format name is blank the help message is not found.

 

Work Around:

At the after panel presented context you are on update the record format name with the record format of the panel you are on.

For example if you are on your first flat panel you would add the line:

UPDFLD     WRKCONTEXT  <--'SCRN01@@'

 

Then create an action context in the routine $$HELP.

To do this first you need to add a context tag to the $$HELP procedure:

  • Type ZWRKSS
  • Change the file to GN#GLES
  • Edit the member GN#MSGSB
  • Insert the line right before the call to GN$HLP:     >C*BFHP Before help
  • Type ZWRKPGMCTX
  • Add the following line making sure the A is the style of your progen program and the sequence number is unique:  A          1        7.00  *BFHP   Before call to Help         $$HLP

Now add the following line in the actions context *BFHP in your program

UPDFLD     *DSPFRFMT  <-- WRKCONTEXT 

 

Rate This Article

Did this example help you to achieve your goal?
 Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Comments:
Please enable JavaScript in order to rate this page.