Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

new to xml-into opcode

Posted on 2009-06-30
2
Medium Priority
?
493 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 1050 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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.

636 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