Solved

Creating connection from one partition to another for file data

Posted on 2014-04-30
4
450 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 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 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