Solved

new to xml-into opcode

Posted on 2009-06-30
2
484 Views
Last Modified: 2013-12-06
I'm trying to understand the web tech. of AS/400 V5r4. How does XML-into op code works. I was looking for some open source and example. it says

/free

         xmlfile = '/my/ifs/path/to/students.xml';

         options = 'doc=file +
                    path=RequestForUICGroup/RequestForUIC +
                    case=any +
                    allowextra=yes +
                    allowmissing=yes';


My questions is how do i refer my pc xml file in AS/400.  what does
xmlfile = '/my/ifs/path/to/students.xml';
this link means. Do i need to create any folder on as/400 to export my students.xml file ? if yes, how does IFS works. ?


xmlfile = '/my/ifs/path/to/students.xml';

Open in new window

0
Comment
Question by:tkshatriya
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 350 total points
ID: 24749693
The IFS is just a windows or Unix-style hierarchical file system that coexists with the native file system.  Conceptually, the native file system ( called QSYS.LIB in IFS lingo) is just one of may file systems under the IFS "root" file system.

You can use System i Navigator (a Windows program that ships with Client Access) to browse the IFS, or you can use the WRKLNK command to browse through the IFS.

The IFS "root", is the "/" directory, and other directories and file ssystems are organized under the root.

The line

xmlfile = '/my/ifs/path/to/students.xml';,

is an example of an IFS-style pathname, and should be replaced in your program with the actual path (just like Unix or Windows) to the XML file that you want to reference.  You will probably need to create a folder in the ifs:

MKDIR '/yourFolderNameGoesHere/'

Then put your XML document into that folder.  You can use FTP or Navigator, or just use the EDTF command and type it in manually.

Before doing anything else, I suggest that you read this section of the Information Center on the IFS:

http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/ifs/rzaaxmst02.htm

- Gary Patterson


0
 

Author Closing Comment

by:tkshatriya
ID: 31598511
Thank you. It worked. I review the article and trying to setup XML link. I still have one more questions I'm trying to set up ILE program to transfer data from DB/2 to XML. Do you recommend any books or article which is easy to understand and explain the XML-into opcode in detail. We have Iseries database and want to integrate with Peoplesoft (sql). Any recommendation, books , article apperciated.

Thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

726 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