Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us