does LOAD_OTHER between LANSA systems still work?
-
jabdefiant
- Posts: 16
- Joined: Fri May 31, 2019 1:07 pm
does LOAD_OTHER between LANSA systems still work?
Hi All,
We have multiple LANSA systems, and often share data. We would use LOAD_OTHER to do this. It used to work.
I moved to V14SP2 recently, and can no longer find the load_other feature.
There is a new button "Import Tables from IBM i". I think that's supposed to be the replacement.
When I try the import button, it loads the file, but check-in now fails.
Has anyone else out there in LANSA land experienced this, and can share some insight?
Any help would be appreciated.
Regards,
Andy
We have multiple LANSA systems, and often share data. We would use LOAD_OTHER to do this. It used to work.
I moved to V14SP2 recently, and can no longer find the load_other feature.
There is a new button "Import Tables from IBM i". I think that's supposed to be the replacement.
When I try the import button, it loads the file, but check-in now fails.
Has anyone else out there in LANSA land experienced this, and can share some insight?
Any help would be appreciated.
Regards,
Andy
Re: does LOAD_OTHER between LANSA systems still work?
Do the Lansa Systems live on the same box ? You could export the objects using the Green Screen lansa Developer Menu and then Import the objects into the new Environment. Once you do that you'll need to Refresh the Object and compile it in the IDE.
I only use LOAD_OTHER exclusively for NON Lansa Objects.
Best,
Chad
I only use LOAD_OTHER exclusively for NON Lansa Objects.
Best,
Chad
-
jabdefiant
- Posts: 16
- Joined: Fri May 31, 2019 1:07 pm
Re: does LOAD_OTHER between LANSA systems still work?
Yes. They do live on the same server.
The export/import does work, but then it looks like a native file. So a developer might make mods to the file without realizing the connection between the systems. Was hoping that I would not have to resort to that.
Thanks Chad.
The export/import does work, but then it looks like a native file. So a developer might make mods to the file without realizing the connection between the systems. Was hoping that I would not have to resort to that.
Thanks Chad.
Re: does LOAD_OTHER between LANSA systems still work?
When importing a Table originally created in LANSA (in another partition, system) using the Import Tables from IBMi option in Visual LANSA, you will have a warning:
"Alias name UPDATE_IDENT is not valid for field @@UPID in an Imported Table definition. Value is ignored"
this because LANSA normally adds that field in the structure of the PF in a LANSA created file.
Now, in Visual LANSA, the file is displayed in yellow instead of green, and the access to modify the structure is blocked (you cannot add more fields, delete fields, etc.). But you also see the field @@UPID like a field more in the structure (normally, hidden from the developer when editing LANSA files created in LANSA).
If I try to compile that file in Visual LANSA, it will fail with:
"Item X_UPID already exists."
If I try to check-in that file, yes you will get an error, indicating that Generation of source for Table - xxxx failed. Compile request ignored.
Now, saying so, the load other, the Bulk load of other files, seems to be solving this correctly. It loads the file, compiles it, shows the @@UPID in the Display Fields in File Definition screen (LANSA/AD green screen) and the file is blocked from structure changes.
And this is testing in V15 EPC150030, in a LANSA green screen environment, NON RDMLX partition.
Looks like the old "Bulk load of other fields" don't work in RDMLX enabled partitions.
"Alias name UPDATE_IDENT is not valid for field @@UPID in an Imported Table definition. Value is ignored"
this because LANSA normally adds that field in the structure of the PF in a LANSA created file.
Now, in Visual LANSA, the file is displayed in yellow instead of green, and the access to modify the structure is blocked (you cannot add more fields, delete fields, etc.). But you also see the field @@UPID like a field more in the structure (normally, hidden from the developer when editing LANSA files created in LANSA).
If I try to compile that file in Visual LANSA, it will fail with:
"Item X_UPID already exists."
If I try to check-in that file, yes you will get an error, indicating that Generation of source for Table - xxxx failed. Compile request ignored.
Now, saying so, the load other, the Bulk load of other files, seems to be solving this correctly. It loads the file, compiles it, shows the @@UPID in the Display Fields in File Definition screen (LANSA/AD green screen) and the file is blocked from structure changes.
And this is testing in V15 EPC150030, in a LANSA green screen environment, NON RDMLX partition.
Looks like the old "Bulk load of other fields" don't work in RDMLX enabled partitions.
-
jabdefiant
- Posts: 16
- Joined: Fri May 31, 2019 1:07 pm
Re: does LOAD_OTHER between LANSA systems still work?
Dino,
Thank you for your response.
This is exactly what I am experiencing. Are you saying that the LOAD_OTHER still exists in V15 as long as the partition is not RDMLX enabled?
I used it frequently in V13 in both RDMLX and non-RDMLX partitions (before we upgraded) without any issues. Now all our partitions are RDMLX enabled, and I only see the "Import tables from IBM i"
Regards,
Andy
Thank you for your response.
This is exactly what I am experiencing. Are you saying that the LOAD_OTHER still exists in V15 as long as the partition is not RDMLX enabled?
I used it frequently in V13 in both RDMLX and non-RDMLX partitions (before we upgraded) without any issues. Now all our partitions are RDMLX enabled, and I only see the "Import tables from IBM i"
Regards,
Andy
Re: does LOAD_OTHER between LANSA systems still work?
Yes, you can still used in RDML partitions. not in RDMLX partitions.
Just go in the IBM to the Administration Menu/Initialize Partition and select the LS@BULKLOD
DC@P860201 Partition Initialize Details
Job description . . . . . . . . . . . . . . . DCXPGMLIB/DCXJOBD
Job queue . . . . . . . . . . . . . . . . . . *JOBD
Output queue . . . . . . . . . . . . . . . . . *JOBD
Optical device named . . . . . . . . . . . . .
Type options and press Enter.
7=Import
Opt Option Details
SYSFLDS System fields *SAVF
HELP_NML Non-multilingual help *SAVF
LS@BULKLOD Bulk load of OTHER files *SAVF
You will have the F10 option in Work with Files:
SELFILE Work with Files
Position to Impact List
Type options, press Enter
2=Review/Change Fields 4=Delete 6=Print 7=Make operational
12=Rules/Triggers 17=Last Action Details 19=Logical views ...
Version No.
Opt File Library Description Act Lts Lgls
. TEST0426PF DCXNOXLIB Test File 1 1 0
Command :
F1=Help F3=Exit F4=Prompt F6=Add/Create F9=Retrieve F10=Bulk load
F12=Cancel F14=Messages F15=SortByDesc F23=More Optns
While the LS@BULKLOD process will be imported in an RDMLX partition, you will get this message if you try to run it:
Files may not be loaded in this environment in an RDMLX enabled partition.
Just go in the IBM to the Administration Menu/Initialize Partition and select the LS@BULKLOD
DC@P860201 Partition Initialize Details
Job description . . . . . . . . . . . . . . . DCXPGMLIB/DCXJOBD
Job queue . . . . . . . . . . . . . . . . . . *JOBD
Output queue . . . . . . . . . . . . . . . . . *JOBD
Optical device named . . . . . . . . . . . . .
Type options and press Enter.
7=Import
Opt Option Details
SYSFLDS System fields *SAVF
HELP_NML Non-multilingual help *SAVF
LS@BULKLOD Bulk load of OTHER files *SAVF
You will have the F10 option in Work with Files:
SELFILE Work with Files
Position to Impact List
Type options, press Enter
2=Review/Change Fields 4=Delete 6=Print 7=Make operational
12=Rules/Triggers 17=Last Action Details 19=Logical views ...
Version No.
Opt File Library Description Act Lts Lgls
. TEST0426PF DCXNOXLIB Test File 1 1 0
Command :
F1=Help F3=Exit F4=Prompt F6=Add/Create F9=Retrieve F10=Bulk load
F12=Cancel F14=Messages F15=SortByDesc F23=More Optns
While the LS@BULKLOD process will be imported in an RDMLX partition, you will get this message if you try to run it:
Files may not be loaded in this environment in an RDMLX enabled partition.
-
jabdefiant
- Posts: 16
- Joined: Fri May 31, 2019 1:07 pm
Re: does LOAD_OTHER between LANSA systems still work?
Thanks Dino.
I have had further communications with LANSA support on this issue, and they are looking into it.
I will update this thread with whatever resolution I get from them.
I have had further communications with LANSA support on this issue, and they are looking into it.
I will update this thread with whatever resolution I get from them.
-
René Houba
- Posts: 220
- Joined: Thu Nov 26, 2015 7:03 am
Re: does LOAD_OTHER between LANSA systems still work?
Hi,
Is this an RDMLX environment and does your file contain *VARCHAR fields?
You said that the Checkin failed.
IF your OTHER file on the iSeries contains a *VARCHAR field, then you should set a partition level option to YES to make this work.
I had this problem with a prospect last week.
Kind regards,
René
Is this an RDMLX environment and does your file contain *VARCHAR fields?
You said that the Checkin failed.
IF your OTHER file on the iSeries contains a *VARCHAR field, then you should set a partition level option to YES to make this work.
I had this problem with a prospect last week.
Kind regards,
René
-
cesarrafael
- Posts: 32
- Joined: Tue Dec 01, 2015 3:44 am
Re: does LOAD_OTHER between LANSA systems still work?
Hi All,
Does anyone have any update on this?
I'm stuck with the same problem.
Does anyone have any update on this?
I'm stuck with the same problem.
Re: does LOAD_OTHER between LANSA systems still work?
wondering, is the current problem to access non lansa files from lansa repository?
because if what you are trying is to use lansa defined files in other lansa systems, why not export/import the definition and use point to access one or another?
because if what you are trying is to use lansa defined files in other lansa systems, why not export/import the definition and use point to access one or another?
Re: does LOAD_OTHER between LANSA systems still work?
I found this page
https://docs.lansa.com/15/en/lansa010/c ... _30090.htm
that has a note at the bottom of the page:
This facility is NOT to be used to load a LANSA File. Instead, export/import the definition you want to use into the new partition. Do not compile the file. Set the user's library list to access the File and IO Module.
So, that looks like the way forward.
HTH
https://docs.lansa.com/15/en/lansa010/c ... _30090.htm
that has a note at the bottom of the page:
This facility is NOT to be used to load a LANSA File. Instead, export/import the definition you want to use into the new partition. Do not compile the file. Set the user's library list to access the File and IO Module.
So, that looks like the way forward.
HTH
-
jabdefiant
- Posts: 16
- Joined: Fri May 31, 2019 1:07 pm
Re: does LOAD_OTHER between LANSA systems still work?
Hi All,
I never got a satisfactory response for this from LANSA Support.
I have resorted to export / Import. This means that I can no longer have one of the systems as "OWNER" of the file.
Andy
I never got a satisfactory response for this from LANSA Support.
I have resorted to export / Import. This means that I can no longer have one of the systems as "OWNER" of the file.
Andy
Re: does LOAD_OTHER between LANSA systems still work?
The new GM of LANSA sent everyone an email. Maybe you should CC him on another email to support asking for an update on your unsolved problem.
If we don't keep on support when LPC drops the ball, and keep paying support to LANSA, nothing will ever get fixed.
If we don't keep on support when LPC drops the ball, and keep paying support to LANSA, nothing will ever get fixed.
Art Tostaine