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
 

 

What are the values of A and B in this Redefine clause

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

New User


Joined: 26 Feb 2007
Posts: 5
Location: Bangalore

PostPosted: Tue Feb 27, 2007 11:38 pm    Post subject: What are the values of A and B in this Redefine clause
Reply with quote

Hi

Can some one tell me what are the values of A and B ?

Code:
01 Ws-a pic x(2) value "AB"
   02 Ws-b Redifines Ws-a pic 9(2)
    03 A pic 9
    03 B pic 9

What are the values of A and B.

Appreciate Your Kind Help!
Shrikanth
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Feb 27, 2007 11:48 pm    Post subject:
Reply with quote

The values are "A" and "B" respectively.
Back to top
View user's profile Send private message
hanu_010

New User


Joined: 25 Jan 2007
Posts: 9
Location: hyd

PostPosted: Thu Mar 01, 2007 10:50 pm    Post subject:
Reply with quote

WHEN EVER USING REDEFINES CLAUSE WE SHOULD USE SAME LEVEL NUMBER

IN THE ABOUE YOU ARE NOT FOLLOWING REDEFINE RULE
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 02, 2007 3:37 am    Post subject:
Reply with quote

Hello,

Turn off the ALL CAPS icon_cry.gif

In the example posted, there will be no values - that code will not compile. There are level number problems, misspelling, and a group level issue.
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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm


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