J
jquerijero
Guest
When using BIND, prodataset and temp-table remain uninitialized unless the source program touches (create a temp-table) them. If you want to keep the prodataset and temp-table empty, you will need to create a dummy record and delete it. Is there a way to check if the prodataset is still uninitialized because the source program has been called yet? And also, is there a way to force the initialization without creating and deleting a dummy temp-table record? EXAMPLE: Source.cls SomeMethod(OUTPUT ds): /* if SomeMethod doesn't create any temp-table, the output ds will remain uninitialized */ END METHOD. Consumer.cls src = NEW Source() src:SomeMethod(OUTPUT ds BIND)
Continue reading...
Continue reading...