Solved

new to xml-into opcode

Posted on 2009-06-30
2
479 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
2 Comments
 
LVL 34

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

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

Suggested Solutions

Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
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.

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now