Joined: 28 Feb 2010 Posts: 21 Location: Bloomington, IL
I have a requirement. I have a dataset contains EMPLOYEE-ID's. I created a temporary table inside my JCL and now I want to LOAD this table with above file content. Can we do it through any utility? I tried BMCLOAD step after this, but failed. BMC is not recognizing temporary tables. It is giving the message that;
Table TEMP_EMP_ID not found.
Here is the JCL I created;
The declare statement defines a declared temporary table for the current application process. The declared temporary table resides in the work file database and its description does not appear in the system catalog. It is not persistent and cannot be shared with other application processes.
Each application process that defines a declared temporary table of the same name has its own unique description and instance of the temporary table. When the application process terminates, the temporary table is dropped.
Implement all the work you have to do in Programm.