Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » data access issue(access file in batch mode on iSeries)
data access issue [message #1162800] Wed, 30 October 2013 16:28 Go to next message
Kenneth Elder is currently offline Kenneth ElderFriend
Messages: 4
Registered: October 2013
Junior Member
I have been trying to put together a simple batch process to read data from a library/table on the iseries.

I have copied my VERY simply code below. I basically delcare the record information, and try to issue a GET to move data from the record to the myRec variable. When I do this I receive an error that states "no compiler extensions were found for the get statement".

First of all I am not sure what I have to add to correct this. I tried to go down the path of using a SQLRecord definition but it seems like that is not available using the open source version.

Any response and direction would be VERY APPRECIATED. Thanks.

Code below.................

package programs;

import eglx.persistence.Entity;
import eglx.persistence.Id;
import eglx.persistence.sql.*;

record Warehs type Entity{@table{name = "PIR900FKE.WAREHS"}}
whcode decimal(3);
whdesc string(30);

// program
program ReadiSeriesWH

// Variable Declarations

myRec Warehs;

function main()
get myRec;

Re: data access issue [message #1163019 is a reply to message #1162800] Wed, 30 October 2013 19:45 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4003
Registered: July 2009
Senior Member

I think you want to ask on a general help site for the language or library you're using. I see nothing that's directly related to or affected by Eclipse in what you're asking.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Programing an Ios app in eclipse
Next Topic:installation
Goto Forum:

Current Time: Sat Mar 06 18:13:28 GMT 2021

Powered by FUDForum. Page generated in 0.03062 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top