HOME

FORUM

UPLOAD SOURCE

RPGLE/RPG

CLLE

SQLRPGLE

DDS

API

OTHER

JAVA

IFS

HTML

JAVA SCRIPT

PHP

MYSQL

XML

OLE DB



    
Enter keyword to search code examples.


Welcome to Code400.com   

Okay...We all like to get free stuff..Right?!? Well thats what we are offering here....Free Stuff
  1. Free storage for your source code.
    Post Your Source

  2. Free access to code samples. (site search)

  3. Free place to ask questions or just say what you want. 
    Share your thoughts

We are interested in what you have to say. If you can’t find what your’e looking for on this site....   Tell us  We will add it.

The small print says: We provide the source code on this site as only a guide. We do not recommend that anyone run any of the code provided on this site without first testing it. If you choose to download source from this site directly onto your production box without testing....Well, YOU are completely to blame and we don’t want to hear about it.

Random Quote

The American people are very generous people and will forgive almost any weakness, with the possible exception of stupidity. --Will Rogers (1879-1935)





    FFD

    This example program will, when passed a physical/logical file name, give a list of fields in that file.   This list will include field attributes and relative position in the file.   (please see images below)  You will also have the ability to print a report by pressing the function key F8.  By pressing function key F7 (provided you enter a physical and not a logical) you will be presented with a display of all logicals over that physical file.  

    Another benifit of this application is the large amount of system API’s you will be exposed to.   Please download the source as either a text file or as a Iseries save file below.

    OBJECTS
  • ffd.cmd - Text file with ffd command
  • ffddsp.dsp - Text file with ffd display file
  • ffdrpg.rpg - Text file with ffd RPG
  • pthcmd.cmd - Text file with PATH command
  • pthdsp.dsp - Text file with PATH display file
  • pthrpg.rpg - Text file with PATH RPG


  • API’s USED
  • QUSCRTUS - Create user space
  • QUSROBJD - Retrieve object description
  • QUSLFLD - List fields in a file
  • QUSRTVUS - Retrieve user space
  • QDBRTVFD - Retrieve database file description
  • QMHSNDPM - Send error message
  • QDBLDBR - Retrieve data base relations


DOWNLOAD
Download text files
Download Iseries save file

Figure 1.


Figure 2.

About Code400.com | resume | Search | Site Map | Suggestions
© Copyright 2003-2008 Code400.com



Thursday Mar 11, 2010 @ 7:15 PM