View previous topic :: View next topic
|
Author |
Message |
nidhi.palsule
New User
Joined: 17 Feb 2009 Posts: 9 Location: Pune
|
|
|
|
Hi,
I have a requirement to dynamically declare and use variables-names in PLI program. These variable names and copybook names will be stored in a DB2 table from where my program will read them and then further use them.
Is this possible in PLI to include copybooks dynamically and also declare and use dynamic variables? If so please let me know how.
Thanks,
Nidhi. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Please go find out what "compile" means and how it applies to PL/1. Then tell us how you expect the program, while it is running, to recompile itself. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
for an approach to a nameless ( no need for variable names ) programming approach see
dsntep2 and dsntep4 examples in DSNxxx.SDSNSAMP
just curious.... who set the requirement? |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
enrico-sorichetti wrote: |
just curious.... who set the requirement? |
Who other than the PHB... |
|
Back to top |
|
|
|