IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Dynamic naming of variables in PLI


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nidhi.palsule

New User


Joined: 17 Feb 2009
Posts: 9
Location: Pune

PostPosted: Wed Jun 29, 2011 2:27 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 29, 2011 2:58 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jun 29, 2011 3:05 pm
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Jul 04, 2011 1:22 am
Reply with quote

enrico-sorichetti wrote:
just curious.... who set the requirement?

Who other than the PHB...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts JCL with variables JCL & VSAM 1
No new posts JCL Variables JCL & VSAM 1
Search our Forums:

Back to Top