Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Creating connection from one partition to another for file data

Posted on 2014-04-30
4
Medium Priority
?
472 Views
Last Modified: 2014-05-04
Just carved up a new iSeries box with two partitions. Our production box contains all of our database files and the other partition is where we plan on writing all of our web applications.

My question is I want to create an easy way for the web partition to make an easy connection to the database files on the production partition. What would be the easiest way to do this without going out and buying software for the box.

Thanks in advance for pointing me in the right direction.
0
Comment
Question by:samic400
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 2000 total points
ID: 40033996
Hi Samic,

The most simple way is creating DDM "files". Then you can access the files as local files while the OS is handling the remote communication to the other partition (or other server).

regards,
Murph
0
 
LVL 27

Expert Comment

by:tliotta
ID: 40035950
...As long as it's understood that accessing DDM files won't be done with SQL, DDM is fine.

I'm not clear why a simple SQL connection wouldn't be done. From a web server, it shouldn't matter if the target database is the local or remote LPAR.

Tom
0
 
LVL 13

Author Comment

by:samic400
ID: 40036648
Tom - good point.

If I were to make a simple SQL Connection then, how would you go about doing that?
0
 
LVL 27

Expert Comment

by:tliotta
ID: 40041309
We need to see much more about how you would intend to access any database at all first, even the LPAR local one. Are you going to call RPG/COBOL programming for database accesses? Java? Actually, I'm not sure how many questions are needed without having some idea of what is meant by "web application".

For native SQL, you'd generally use a SQL CONNECT TO statement to connect to an entry in the local relational database directory. For JDBC, you'd use a connection string that referenced the desired database.

But a clearer picture of what is intended is needed.

Tom
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question