S36E Structure


S/36E Structure

To make effective use of the S/36E, you will need at least a basic understanding of how it is organized. The S/36E is supported by the existence of several libraries: QSSP (which contains the S/36 support), #LIBRARY (with the user objects that would have been placed in #LIBRARY on the S/36), and QS36F (to contain the data files). In addition to these three libraries, the S/36E includes libraries for IBM program products. Some of the more common ones are #RPGLIB, #SDALIB, and #SEULIB.

To create a library for S/36 program objects, enter the S/36E and run the BLDLIBR (Build Library) procedure. The system runs the CL Create Library (CRTLIB) command to create the library, then runs two Create Source Physical File (CRTSRCPF) commands to create source files QS36PRC (for procedure members) and QS36SRC (for source members).

Once the library is ready, you can use the SEU procedure to edit source and procedure members. You can use the native tools, such as PDM and SEU, or S/36 procedures. For example:

         SEU NEWPGM, R,,, MYLIB 

The S/36E starts SEU for source member NEWPGM (type RPG36) in source file MYLIB/QS36SRC. You dont have to be concerned about what source file is used because the S/36E handles it for you.



IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
IBM i5/iSeries Primer(c) Concepts and Techniques for Programmers, Administrators, and Sys[... ]ators
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 245

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net