Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Can we redefine a types which are different from one another

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
naveensnayak

New User


Joined: 27 Nov 2006
Posts: 7
Location: Hyderabad

PostPosted: Mon Nov 27, 2006 4:33 pm    Post subject: Can we redefine a types which are different from one another
Reply with quote

If i am using a redifines clause
1. At what levels i can use it (66 or 77 or 88 or 01)
2. Can we redefine a types which are different from one another
lik alphanumeric redefining numeric
3. Can we redifine of varying lenghts
lik x[9] redefining 9[5]
Back to top
View user's profile Send private message

vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Mon Nov 27, 2006 4:40 pm    Post subject: Re: Redefines Clause
Reply with quote

1. At what levels i can use it (66 or 77 or 88 or 01)

we can use in 01 level
we should not use in 66, 88 levels i am not sure about 77 level

2. Can we redefine a types which are different from one another
lik alphanumeric redefining numeric

yes you can redefine in any format like Char, Alphanumeric or numeric
redefining means redefining the same memory location in different name and defferent format

3. Can we redifine of varying lenghts
lik x[9] redefining 9[5]

Yes you can redefine like this


Pls correct me if i am wrong

Thanks
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Mon Nov 27, 2006 4:48 pm    Post subject:
Reply with quote

Hi Naveen

1.REDEFINES clause should not be used for level nos- 66 and 88.

2.Yes, it is possible.

3.Possible


Thanks
Arun
Back to top
View user's profile Send private message
naveensnayak

New User


Joined: 27 Nov 2006
Posts: 7
Location: Hyderabad

PostPosted: Mon Nov 27, 2006 4:51 pm    Post subject:
Reply with quote

icon_biggrin.gif Thank u very much buddies for the fast response
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrive Redefine vidyaa CA Products 4 Mon Jun 19, 2017 6:01 pm
No new posts Redefine SYS1.PROCLIB farhad_evan JCL & VSAM 12 Mon May 22, 2017 10:54 pm
No new posts Types of variables REXX tvinodkumar7 TSO/ISPF 2 Wed Aug 26, 2015 6:57 pm
No new posts Redefine Numeric to Alphanumeric suraaj COBOL Programming 4 Mon Oct 06, 2014 9:16 pm
No new posts Initializing filler default value whe... dsivapradeep COBOL Programming 6 Thu Feb 13, 2014 11:17 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us