01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b

wht will be the value ?

Answer Posted / nilesh

456 would be the value in b.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2656


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1019


What is a SSRANGE and NOSSRANGE?

818


Have you used comp and comp-3 in your project? And how?

2006


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2727






In COBOL, what is the different between index and subscript?

753


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1798


Can we redefine the field of x(200) to less than 200?

814


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2051


Name the divisions, which are available in a cobol program?

681


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1949


What is the difference between Call and a Link?

694


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

992


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1950