Page 1 of 1

COBOL

Posted: Wed Apr 12, 2017 4:48 pm
by dkmccammon
Hello, we are trying to use the converter to convert a display file that is tied to a COBOL program. I could not find any reference on how to add the handler in COBOL like we do in RPG, does the rich display conversion work for COBOL programs and if so how do we go about getting the COBOL to recognize the ProfoundUI handler?

Re: COBOL

Posted: Wed Apr 12, 2017 5:05 pm
by Brian
IBM did not create Open Access for COBOL, only RPG, so there is no HANDLER keyword in COBOL. We do have a preprocessor in Beta that can insert code at compile time to make COBOL call the Profound UI handler directly.

If this is something that you may be interested in, please email sales@profoundlogic.com and ask for access to the COBOL Preprocessor Beta.

Re: COBOL

Posted: Thu Apr 13, 2017 12:16 pm
by dkmccammon
We were told that the Preprocessor was out of Beta from what my manager recalls. We have already purchased the software, and have been trying to use the PROFOUNDUI/PUICBL command without success. I have attached the spoolfile, as you can see there are numerous SEVERITY: 30 errors that seem to be related to PUI.
SPOOLFILE.pdf
(394.66 KiB) Downloaded 320 times
Below is also the error message listed in the job log.

Display Message Details

Message ID . . . . . . : LNC1903 Severity . . . . . . . : 40
Date sent . . . . . . : 04/13/17 Time sent . . . . . . : 10:08:02
Message type . . . . . : Completion
From . . . . . . . . . : DMCCAMMON CCSID . . . . . . . . : 65535

From program . . . . . . . . . : QLNMAIN4
From library . . . . . . . . : QCBLLE
From module . . . . . . . . : QLNMAIN4
From procedure . . . . . . . : Main_putStatusMsg
From statement . . . . . . . : 110

To program . . . . . . . . . . : PUICBL0100
To library . . . . . . . . . : PROFOUNDUI
To module . . . . . . . . . : PUICBL0100
To procedure . . . . . . . . : PUICBL0100
To statement . . . . . . . . : 52700

Re: COBOL

Posted: Thu Apr 13, 2017 12:24 pm
by Brian
You should report this to support@profoundlogic.com.

Please include the spool file and exactly what you did when getting the error.

Re: COBOL

Posted: Thu Apr 13, 2017 12:41 pm
by Scott Klement
Taking a quick look at your spooled file, this seems to be the problem:

Code: Select all

* 2393 MSGID: LNC1023 SEVERITY: 30 SEQNBR: 000766
Message . . . . : Copy file 'PUIWS' in '*LIBL/QCBLINC' could not be
opened. COPY statement ignored.
This PUIWS member contains a lot of definitions that are required. This Copy file should be found in the same library where Profound UI is installed (it is named PROFOUNDUI by default). So make sure that the PROFOUNDUI library (or whatever library you installed Profound UI into) is in your library list.

Does that solve the problem for you?

And, yes... the Cobol preprocessor is no longer in beta. (Hasn't been for quite awhile now.)

Re: COBOL

Posted: Thu Apr 13, 2017 12:47 pm
by dkmccammon
Yes, the ProfoundUI library, where we installed ProfoundUI into, is in my library list. I attached another pdf to this post of another attempt in using the PROFOUNDUI/PUICBL. Still getting compile errors.
SPOOLFILE_2.pdf
(266.65 KiB) Downloaded 181 times
Display Message Details

Message ID . . . . . . : LNC1903 Severity . . . . . . . : 40
Date sent . . . . . . : 04/13/17 Time sent . . . . . . : 11:43:42
Message type . . . . . : Completion
From . . . . . . . . . : DMCCAMMON CCSID . . . . . . . . : 65535

From program . . . . . . . . . : QLNMAIN4
From library . . . . . . . . : QCBLLE
From module . . . . . . . . : QLNMAIN4
From procedure . . . . . . . : Main_putStatusMsg
From statement . . . . . . . : 110

To program . . . . . . . . . . : PUICBL0100
To library . . . . . . . . . : PROFOUNDUI
To module . . . . . . . . . : PUICBL0100
To procedure . . . . . . . . : PUICBL0100
To statement . . . . . . . . : 52700

Re: COBOL

Posted: Thu Apr 13, 2017 12:59 pm
by Scott Klement
This one looks like a bug... so it will need to be handled through support@profoundlogic.com. Since you've already submitted things to the support desk, they'll follow up with you shortly.

Thanks

Re: COBOL

Posted: Tue Nov 13, 2018 11:13 am
by jmendes
Hi,
Do you have a simple example of how to use "open access for COBOL"?


Thanks,
João