Solved

new to xml-into opcode

Posted on 2009-06-30
2
481 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 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Restoring files with VSS not possible Path too long 2 103
VMWare - Operating System not found 8 135
AS400 BRMS - none enrolled tape 6 64
iSeries email authority 6 75
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 …
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
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.

839 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