Inline SQL

14 views
Skip to first unread message

johnprince

unread,
Feb 17, 2010, 5:24:15 AM2/17/10
to NACA (automated Cobol to Java transcoding)
Hi,

I've got naca up and running, and I'm trying it some of our cobol code
base, but we have a lot of inline sql (not sure if that is the right
terminology - I'm a java programmer, not a cobol one :>) - I just mean
sql statements in the body of the cobol source) and this seems to
create problems.

Is inline sql not supported? Do I have to preprocess the files to
generate includes, or are there any other options?

Best wishes

John

Didier DURAND

unread,
Feb 18, 2010, 2:26:22 AM2/18/10
to NACA (automated Cobol to Java transcoding)
Hi John,

Inline SQL is supported: 1000s of cases in our own project.

So, please, provide more details (samples, etc.) of what's not working
for you.
regards
didier

naca support

unread,
Mar 4, 2010, 11:07:41 AM3/4/10
to NACA (automated Cobol to Java transcoding)
The problem you are describing below is due to a parsing problem when
decoding the Cobol program. NacaTrans is a Cobol to Java transcoder
that has been initially implemented to transcode a 4 million Cobol
lines internal application. As no formal Cobol grammar exists, most of
the Cobol keywords have been transcoded and tested. However, as the 4
million Cobol lines of the internal application is not using 100% of
the cobol keywords, some keywords, or some constructions for some
keywords are not supported.

To help you going forward, could you please either send us the Cobol
program (with all COPY required), or either a working subset of your
Cobol program, so that we can reproduce the case below?

You can either proceed forward in the forum, or you can mail us at
naca.s...@gmail.com.

Best regards.
Naca Support

--------------------------------------------------------------------------------------------------------------------------------------------------------

Problem

HANDLE ABEND LABEL(UZ-M962)

can't be converted. CExecCICSHandle logs"Unhandled situation in
HANDLE"

Is this a known problem or am I doing something wrong?

Best wishes

John

Reply all
Reply to author
Forward
0 new messages