Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I encountered an error when I move spaces to a numeric
field?What should I do to move spaces on that field?help
please.

Answers were Sorted based on User's Feedback



I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / ramesh

first numeric field rediffens alpha numeric field
then you check numeric and move spaces to redifened name
ex:
01 num pic 9(09).
01 num1 rediffens num.
02 num2 pic x(09).

if num is numeric
move spaces to num2
end-if.

Is This Answer Correct ?    20 Yes 0 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / mahesh

Thing is that spaces can't be moved to numeric fields,
u can move only zeros and other numeric values to numeric
fields, spaces can be moved to alphanumeric and alphabetic
fields only.

Is This Answer Correct ?    7 Yes 0 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / nitesh sethi

Use option BLANK WHEN ZERO for that field and initialize
that field.
Initalize will move zeroes to that field and declarion of
that field with BLANK WHEN ZERO will not have zeroes in
that field.

Directly moving spaces to a numeric field is not possible
as it will result in SOC7 Abend

Is This Answer Correct ?    0 Yes 0 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / sundar

Directly move space to numeric fields encount severe error.
But if you move space to another alphanumeric field and
then move to numeric field then this will not get any error.

Is This Answer Correct ?    0 Yes 0 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / arpan

We need to use Initialize for Numeric and SPACES for Alpha
numeric fields.

Is This Answer Correct ?    0 Yes 1 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / sundar

Move space to the numeric field not getting any error.
However if that numeric field involves any arithmatic
operation than it will get abend.

Is This Answer Correct ?    0 Yes 1 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / guest

IF I-field-name IS NUMERIC
MOVE SPACES TO I-field-name
END-IF

Is This Answer Correct ?    2 Yes 4 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / kanika

intialize will solve the purpose.

Is This Answer Correct ?    1 Yes 4 No

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on th..

Answer / guest

IF I-field-name EQUAL ZEROES
MOVE SPACES TO O-field-name
END-IF

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More COBOL Interview Questions

what are the utilities for load and unload the DB2 tables

1 Answers   L&T,


For rewrite, why is it mandatory that file needs to be opened?

0 Answers  


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


What is a scope terminator give example?

0 Answers  


The maximum number of dimensions that an array can have in COBOL-85 is ?

11 Answers  


) What is the use of IGNORE?

1 Answers   IBM,


What is the difference between a DYNAMIC and STATIC call in COBOL?

2 Answers  


01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?

6 Answers   Patni,


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.

4 Answers   Wipro,


plz any one tell clearly the justify right clause?

1 Answers  


Categories