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

How to give input values at the runtime in PLI programs?


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

New User


Joined: 28 Apr 2008
Posts: 1
Location: Hyderabad

PostPosted: Mon Oct 13, 2008 4:05 pm
Reply with quote

Hi,

how to give input values at the run time in PLI programs for the variables declared. Suppose, I have a program when I run my program it should ask for choice at the run time acc. to that it should perform particular logic related to that choice. How can I get this? Is it possible through PLI programs.

Thanks in Advance,
Hema
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Oct 13, 2008 5:08 pm
Reply with quote

Have you looked at the manual:
Quote:
The GET statement is a STREAM input data transmission statement that can either:

* Assign data values from a data set to one or more variables
* Assign data values from a string to one or more variables.

For a stream input file, use the following syntax for the GET statement.


________________________________________________________________________
| |
| >>__GET__ ____________________ ___ ____________________ _____________> |
| |_FILE__(expression)_| |_data-specification_| |
| |
| >__ ____________________________ __ ________________________ __;____>< |
| |_COPY__ __________________ _| |_SKIP__ ______________ _| |
| |_(file-reference)_| |_(expression)_| |
| |
|________________________________________________________________________|
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts force tablespace using LISTDEF input DB2 1
Search our Forums:

Back to Top