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
 

 

about COMP-3 variable

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

New User


Joined: 23 Feb 2005
Posts: 5

PostPosted: Mon May 01, 2006 12:18 pm    Post subject: about COMP-3 variable
Reply with quote

Hi,
Can u tell me pic 9(7) comp-3 will occupy how many bites?
Back to top
View user's profile Send private message

ranjita_biswal

New User


Joined: 23 Feb 2005
Posts: 5

PostPosted: Mon May 01, 2006 12:21 pm    Post subject: About Validation and verification
Reply with quote

Hi,
Can u tell me about validation and verification?
Thanks
Ranjita
Back to top
View user's profile Send private message
ranjita_biswal

New User


Joined: 23 Feb 2005
Posts: 5

PostPosted: Mon May 01, 2006 12:23 pm    Post subject:
Reply with quote

Hi,
Can u tell me about Quality Assurance?
Thanks
Ranjita
Back to top
View user's profile Send private message
sreddy

New User


Joined: 16 Mar 2005
Posts: 8
Location: Bangalore

PostPosted: Mon May 01, 2006 1:28 pm    Post subject: Re: about COMP-3 variable
Reply with quote

Hi

1)

4 bytes

2)

Validation is nothing but judging the field for suppose if you have a field in foreground which has absolutely numbers end user may enter any data after receiving it we have to validate for proffer out put. in this case we can do IS NUMERIC validation like that for other type of data also.
Back to top
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Tue May 02, 2006 7:48 pm    Post subject: comp-3
Reply with quote

it will take 4 bytes,
in case of odd no like the example 7 i,e (n+1)/2=7+1/2=4 nd in case of even no (n/2)+1
........................jayanta kr. mondal
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm


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