Re: Sample records file
A stored procedure is shipped as part of the system that contains the DDL statements to create DB2 Universal Database? for iSeries sample tables, and the INSERT statements to populate them. The procedure will create the schema specified on the call to the procedure. Since this is an SQL external stored procedure, it can be called from any SQL interface, including interactive SQL and iSeries? Navigator. To call the procedure where SAMPLE is the schema you want to create, issue the following statement:
The schema name must be specified in uppercase. The schema must not already exist.
A stored procedure is shipped as part of the system that contains the DDL statements to create DB2 Universal Database? for iSeries sample tables, and the INSERT statements to populate them. The procedure will create the schema specified on the call to the procedure. Since this is an SQL external stored procedure, it can be called from any SQL interface, including interactive SQL and iSeries? Navigator. To call the procedure where SAMPLE is the schema you want to create, issue the following statement:
Code:
CALL QSYS.CREATE_SQL_SAMPLE ('SAMPLE')




. Also thanks to you guys for pointing me in the right direction. I have managed to write a simple report program based on the customer physical file above and an interactive program that displays records of a physical file with two keys containing records about fake college classes. I am much more confident going into this now having done some things on my own.





Comment