Highlighted
Absent Member.
Absent Member.
2528 views

[archive] Key-Status in .wrk file

[Migrated content. Thread originally posted on 03 December 2002]

Does anyone know how to insert a new 88 level item
for Key-Status in the .wrk file??

Thanks
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Key-Status in .wrk file

In the workspace, rightclick on your program and choose 'properties'. In the tab 'Key status' you can add your own 88 level or choose not to generate key status variable in .wrk (and then include the key status variabele in a copy member).

I usualy create 78 levels for the keys I need:

[B]WORKING-STORAGE SECTION.[/B]
78  key-enter  value 13.


[B]PROCEDURE DIVISION.[/B]
if  key-status = key-enter
    display message box "Enter key pressed"
end-if

Andr
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Key-Status in .wrk file

Just an additional note to be aware of. If you define key-status in working storage, the 'key status' tab will not be there when in program/properties.

If you want to work with key-status through the program/properties/keystatus tab, don't define a special names crt status in working storage.

However, if you do define a special names crt status in working storage, you can double-click on the 'more' column of the variable and add your level 88s there.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Key-Status in .wrk file

Just an additional note to be aware of. If you define key-status in working storage, the 'key status' tab will not be there when in program/properties.

If you want to work with key-status through the program/properties/keystatus tab, don't define a special names crt status in working storage.

However, if you do define a special names crt status in working storage, you can double-click on the 'more' column of the variable and add your level 88s there.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Key-Status in .wrk file

Just an additional note to be aware of. If you define key-status in working storage, the 'key status' tab will not be there when in program/properties.

If you want to work with key-status through the program/properties/keystatus tab, don't define a special names crt status in working storage.

However, if you do define a special names crt status in working storage, you can double-click on the 'more' column of the variable and add your level 88s there.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.