Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Dynamic naming of variables in PLI

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Dynamic naming of variables in PLI
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: 8201
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 29, 2011 2:58 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Wed Jun 29, 2011 3:05 pm    Post subject: Reply to: Dynamic naming of variables in PLI
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: 1072
Location: Oostende, Belgium

PostPosted: Mon Jul 04, 2011 1:22 am    Post subject: Re: Reply to: Dynamic naming of variables in PLI
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us