GUI ScreenIO for Windows

 ScreenIO.com


IBM Visual Age COBOL

Copy the file GS.COB from the GUI ScreenIO installation directory to wherever you keep your COBOL program source code.

Launch your COBOL program editor.

Open GS.COB so that you can edit it.

Examine the source code (it's pretty simple). The comments at the beginning of the program explain what you need to do.  Remove the comments from the IBM Visual Age COBOL section of code as shown below:

DATA DIVISION

No changes.

PROCEDURE DIVISION

 0001-PASSTHROUGH-CALL.
*----------------------------------------------------------
*--> AcuCOBOL and IBM VisualAge COBOL <--*
* Note: AcuCOBOL requires the environmental DLL_CONVENTION=1
*
     CALL 'GS32' USING BY REFERENCE A B C D.
     GOBACK.
     ENTRY 'GSWINAPI' USING W A B C D E F.
     CALL 'GSWAPI' USING BY REFERENCE W A B C D E F.
     GOBACK.

Be sure that the source code for other compilers is commented out.

Save GS.COB.

Compile GS.COB.

Related topics:


Application profile settings

IBM Visual Age COBOL does not support the "&" continuation character for literal strings; it requires the older COBOL-74 style of continuation statement using a dash (-) character in column 7. 

Set this option on the first page of your application profile.  This will cause GUI ScreenIO to save your panel copybooks using the old style for continuation statements.

You must convert any existing panels to this form by editing them in the panel editor and saving them.  Don't be tempted to try this conversion manually as it is easy to make errors.


© 2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom