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...

Will the variable POS in the following code have a value of
2 or not?

01 POS PIC S9(4) COMP VALUE 2.
01 FIRST-NAME PIC X(10) VALUE 'ABC'.
01 LAST-NAME PIC X(10) VALUE 'XYZ'.
01 NAME PIC X(20) VALUE SPACES.

STRING FIRST-NAME DELIMITED BY SPACES
' ' DELIMITED BY SIZE
LAST-NAME DELIMITED BY SPACES
INTO NAME
WITH POINTER POS

Answer Posted / jyoti prakash

total no in pos field is 9 byte

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2138


How do you differentiate between cobol and cobol-ii?

1286


What are all the divisions of a COBOL program?

1276


What is the utilization of copybook in cobol?

1283


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

1435


What are various search techniques in cobol? Explain.

1113


What the difference is between continue and next sentence?

1225


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2634


What is the compute verb? How is it used?

1190


how do you reference the fixed unblock file formats from cobol programs

1310


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

2525


) How do u handle errors in BMS macro

2105


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1486


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1234


Whats the difference between search & search ALL?

6668