Share objects between two AS/400 machines on a same network.

140 pts.
Tags:
AS/400
DDM
Hello, I would like to know if it is possible to share a disk between two AS/400 machines. I know about DDM but I would like to know if it is possible otherwise. Thanks.

Software/Hardware used:
AS/400 iseries os400

Answer Wiki

Thanks. We'll let you know when a new response is added.


Discuss This Question: 10  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    The question doesn't make sense. What does the question subject mean by "share objects"? What objects? Share how? What does the question mean by "share disk"? There are a number of ways for two AS/400s to access objects on each other, but "share disk" is fairly meaningless. The OS itself is not aware of individual disks. -- Tom
    125,585 pointsBadges:
    report
  • al7iss
    Thank you for your reply,I would like to access objects (*FILE objects mainly) of an library (or the whole library) from a remote AS/400 without having to create a DDM File. What are the "number of ways for two AS/400s to access objects on each other" ? I am only aware of DDMThanks
    140 pointsBadges:
    report
  • TomLiotta
    Most commonly, a remote database directory entry would be created. Use WRKRDBDIRE to access the database directory on an AS/400. Add an entry for the remote database. You can then use SQL CONNECT on the local AS/400 to open a connection to the database on the remote AS/400. -- Tom
    125,585 pointsBadges:
    report
  • al7iss
    Thanks for your response, the project was on hold hence my late response. Is there any other way? Because SQL connect needs the user and password which is not an option in my application.

    140 pointsBadges:
    report
  • TomLiotta

    There is no way any AS/400 is going to allow some remote system to mess with its database objects without authentication. If you can't provide at least a profile/password, you might as well give up. Such a setup would be so fragile and insecure as to be useless.

    However, with DDM over TCP/IP, an "application" doesn't need to supply the authentication. It can be supplied outside of the application through server authentication entries. Run GO MENU(CMDAUTE) and review the set of commands.

    If you set a server authentication entry for yourself on one system, it will supply the associated authentication for you when you access the remote system. For DDM over TCP/IP, use SERVER(QDDMSERVER) as the remote server name. Use all upper-case.

    Tom

    125,585 pointsBadges:
    report
  • TomLiotta
    (BTW, there are some specific ways to configure a system not to require authentication. However, it requires a high-authority profile to set it up; and no production system should ever be running that way. Setting a production system not to require authentication should be grounds for termination and might result in legal liabilities. -- Tom)
    125,585 pointsBadges:
    report
  • al7iss
    Ok, can iASP be the solution? I am not very familiar with the concept but is it possible for two systems to access the same iASP? Thus to share objects?
    140 pointsBadges:
    report
  • CharlieBrowne

    Can you also tell us about the business logic for the share. Are you asking if from one machine or the other can you read selected records, update either way, etc..

    When I was at AT&T, it took 7 of the largest AS499 to hold the complete data base of customer information. So every program was always getting and/or updating on other machines, This was an extreme case.

    Does the data need to be 100% current or would something like MIMIX work for you?

    41,370 pointsBadges:
    report
  • al7iss
    Thank you for your response.
    Say I have 2 AS400, two instances of the same application run on both of them. How can they access objects that are on one of the AS400. The objects would be mostly of *FILE type for read an write access. Can this be done using iASP?
    I don't see what you mean by 100% current, if you mean 100% available , I would say yes.
    Thanks
    140 pointsBadges:
    report
  • TomLiotta

    Can this be done using iASP?

    No.

    It doesn't matter what you do. You are going to have to authenticate between the systems. Database systems do not let other systems come in and modify files without authentication. That's an insane way to run a business system (and potentially brings legal liability for you).

    Because SQL connect needs the user and password which is not an option in my application.

    How can it be possible not to be an option? Are you coding the application or not?

    Tom

    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following