Can we use a table name in custom routine
Moderators: chulett, rschirm, roy
Can we use a table name in custom routine
I have a requirement to use the table name in the custom routine.If we can use please give me the solution
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
"Use" the table name? That's a bit vague.
You can pass the table name as an argument. You can load up the table name into a job parameter or environment variable and interrogate that. You can use a number of system variables, like @USER0. The best approach may even be to have the routine code interrogate the job design to determine the table name.
It really depends on what "use" means in your context.
You can pass the table name as an argument. You can load up the table name into a job parameter or environment variable and interrogate that. You can use a number of system variables, like @USER0. The best approach may even be to have the routine code interrogate the job design to determine the table name.
It really depends on what "use" means in your context.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.