Solved

new to xml-into opcode

Posted on 2009-06-30
2
469 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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

10 Experts available now in Live!

Get 1:1 Help Now