• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Connect Coldfusion 8 to AS400 (MAPICS)

Participant ,
Jul 25, 2009 Jul 25, 2009

Copy link to clipboard

Copied

I am looking to connect to AS400 so that users can:

1. Pass usernames and passwords to AS400

2. query a "Work Order" to get related items (AS400)

Thanks in advance.

TOPICS
Advanced techniques

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 29, 2009 Jul 29, 2009

Copy link to clipboard

Copied

I am able to establish a connection to AS400 using ODBC socket and connection string. However,  my account does not have enough permissions to see any data. I would like users to pass their authentication to AS400 via a Coldfusion form. Any ideas on params? Should they look like this:

<cfparam name="FORM.username" default="Your Username">

<cfparam password="FORM.password" default="Enter Password">

If so, then will they pass to AS400?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jul 31, 2009 Jul 31, 2009

Copy link to clipboard

Copied

Disclaimer: I'm not familiar with MAPICS.

If are trying connect to MAPIC using an OBDC or JDBC DSN setup in ColdFusion and execute SQL statements via CFQUERY you might try using the password and username attributes of CFQUERY.


<cfquery name="myQuery" datasource="myMapicsDsn" username="#form.username#" password="#form.password#">
    <!--- your query here --->
</cfquery>

CFQUERY

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_p-q_17.html#1102316

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 31, 2009 Jul 31, 2009

Copy link to clipboard

Copied

LATEST

Thanks Bob. I got it going using jt400.jar. I have to make another post because the data is returning gibberish in some places.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation