COBOL

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
dkmccammon
Profound User
Posts: 48
Joined: Wed Apr 12, 2017 4:44 pm
First Name: Darin
Last Name: McCammon
Company Name: NAICO
Phone: 4052584301
Address 1: 1010 Manvel Ave
City: Chandler
State / Province: Oklahoma
Zip / Postal Code: 74834
Country: United States
Contact:

COBOL

Post 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?
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: COBOL

Post 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.
dkmccammon
Profound User
Posts: 48
Joined: Wed Apr 12, 2017 4:44 pm
First Name: Darin
Last Name: McCammon
Company Name: NAICO
Phone: 4052584301
Address 1: 1010 Manvel Ave
City: Chandler
State / Province: Oklahoma
Zip / Postal Code: 74834
Country: United States
Contact:

Re: COBOL

Post 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 319 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
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: COBOL

Post by Brian »

You should report this to support@profoundlogic.com.

Please include the spool file and exactly what you did when getting the error.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: COBOL

Post 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.)
dkmccammon
Profound User
Posts: 48
Joined: Wed Apr 12, 2017 4:44 pm
First Name: Darin
Last Name: McCammon
Company Name: NAICO
Phone: 4052584301
Address 1: 1010 Manvel Ave
City: Chandler
State / Province: Oklahoma
Zip / Postal Code: 74834
Country: United States
Contact:

Re: COBOL

Post 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 179 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
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: COBOL

Post 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
jmendes
New User
Posts: 18
Joined: Thu Mar 17, 2011 7:38 am
First Name: Joao
Last Name: Mendes
Company Name: Banco Credibom, SA
Country: Portugal
Contact:

Re: COBOL

Post by jmendes »

Hi,
Do you have a simple example of how to use "open access for COBOL"?


Thanks,
João
Thanks,
João Mendes
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests