Solved

Creating connection from one partition to another for file data

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
"Estimated" pages on a spooled file 5 270
Display File Information for Physical Files 5 86
IBM i - CL Array 5 123
AS400 BRMS - none enrolled tape 6 87
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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