Geeks Talk

Prepare for your Next Interview




redefine a variable

This is a discussion on redefine a variable within the MainFrame forums, part of the Software Development category; Suppose i redefine a variable ws-a pic x(2) with a variable ws-b pic x(2). my question is whether i can use value clause in any of ...


Go Back   Geeks Talk > Software Development > MainFrame

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-17-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 164 Times in 138 Posts
Geek_Guest is on a distinguished roadGeek_Guest is on a distinguished road
redefine a variable

Suppose i redefine a variable ws-a pic x(2) with a variable ws-b pic x(2). my question is whether i can use value clause in any of the variable ?

for eg.1) 05 ws-a pic x(2) value 'aa'
05 ws-b redefines ws-a pic x(2)

eg.2) 05 ws-a pic x(2)
05 ws-b redefines ws-a pic x(2) value 'bb'

is any one of two is correct or both are incorrect ?

ashish
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-18-2007
Junior Member
 
Join Date: May 2007
Location: mumbai
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
zyxwv is on a distinguished road
Smile Re: redefine a variable

Why cant?
I think both are correct. If any suggessions from anybody, i can accept it. please any of you suggest whether my ans is correct.

Savvy
Reply With Quote
Reply

  Geeks Talk > Software Development > MainFrame


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to assign the datatable values to a local variable in a script Geek_Guest QTP 0 05-13-2007 05:11 AM
Variable, Constants and Data types in C++ Lokesh M C and C++ 0 04-27-2007 12:49 AM
Change the datatype of a variable srisha QTP 0 04-12-2007 07:55 AM
How can I access a variable Sheena_sankar C and C++ 6 03-08-2007 08:05 AM
Process of using parameter and variable JobHelper Data Warehousing 0 01-09-2007 05:31 AM


All times are GMT -4. The time now is 01:35 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved