IBM®
Skip to main content
    United States [change]      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
     
  XML on TPF: A Short Tutorial IBM

XML on TPF: A Short Tutorial — Page 11 of 14
Compile, Link, and Load the Applications: OS/390 UNIX

Now you are ready to compile, link, and load the applications.

Before continuing, do the following on your OS/390 UNIX system:

Note: You may need to modify the following steps to match your development environment.

  1. To compile applications domxml.cpp and saxxml.cpp, do the following:
    1. Enter the following export commands:
    2. Enter export to verify that the environment variables defined in step 1 were set correctly.
    3. Enter c++ -c domxml.cpp to start the compiling process. This step creates a .o file for the DOM application.
    4. Enter c++ -c saxxml.cpp to start the compiling process. This step creates a .o file for the SAX application.
  2. Link each application and its associated .o file with CSTRTD(40) and CGETOP40.pds. You must include the following definition side-decks:
    • CPP140
    • CPP240
    • CXML40
  3. Create a loadset for each application (domxml.cpp and saxxml.cpp).

Once you have completed these steps, you are ready to continue.

* Note: The XML4C header files needed for applications accessing XML data should have been copied to an accessible directory when APAR PJ28176 was installed on your TPF 4.1 system. These header files must retain their names and the directory structure in which they reside. For more information about the header files, see the migration information in either TPF Migration Guide: Program Update Tapes or the TPF XML User's Guide. See your system installer to find out where the header files are on your TPF 4.1 system and use that path name for the xinclude variable.

For More Information
See OS/390 UNIX System Services Command Reference for more information about compiling on OS/390 UNIX.

PreviousNext

Back to the Beginning
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14

 

Close This Window.

 

    About IBM Privacy Contact