Page 1 of 1

Using RPG and RDMLX in one schema

Posted: Wed Apr 24, 2013 1:07 am
by JoeHam
Hi,
is it possible to combine LongRange programs created with RPG and LongRange functions created with Lansa RDMLX in one single schema?
Or do I need one schema for LongRange RPG and another one for LongRange RDMLX?

Many thanks in advance,
Joerg

Re: Using RPG and RDMLX in one schema

Posted: Wed Apr 24, 2013 8:14 am
by Paul
I don't think this would be possible because the client would need to reference two completely different systems at the same time.

Re: Using RPG and RDMLX in one schema

Posted: Wed Apr 24, 2013 8:16 am
by Paul
Sorry, to answer your question, you would need one schema for RPG and one for LANSA RDMLX.

Re: Using RPG and RDMLX in one schema

Posted: Wed Apr 24, 2013 8:24 am
by MarkDuignan
Interesting question .

Short answer is no.

LongRange-RPG and LongRange-LANSA use radically different execution platforms and architectures.

However LANSA can call RPG (and RPG can call LANSA) - but if a LANSA formview is executed (say) in LongRange and it calls an RPG program that tries to use the RPG/COBOL/CL LRNG_XXXXXXX APis they would not function correctly because the underpinning execution platform required to support 5250 session based RPG programs is not present.

What do you need to achieve?