Writing data from a user space

Writing data from a user space

How can I write data from a user space to a database file?

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts including news, tips, and advice to help you do your job more efficiently and effectively. Stay informed on the hottest topics and biggest challenges faced by IT professionals working with iSeries products and services.

    By submitting your registration information to Search400.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of Search400.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Many of the APIs use user spaces. There are examples of the Retrieve User Space API's in many of the API programming examples. They give examples in RPG, CL COBOL, and sometimes C. You can get to the examples from the iSeries Information Center.

Start here, select the link for library, from that page select iSeries information center, on the iSeries information center (after selecting North America, and English, and select the Release you are on.) Select Programming, CL and API's, API's, then Examples.

The Deleting Old spool files, and changing an Active Job along with several others show examples of using the Retrieve user space API's. Retrieves information from a user space using one of the following:

  
               QUSRTVUS API                                             
               QUSPTRUS API.                

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Read this Search400.com Featured Topic: Managing your iSeries.


This was first published in March 2003