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

How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1213


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

1195


How you can characterize tables in cobol?

1250


I have a File that has duplicate records. I need only those records that occur more than thrice.?

10004


What rules are followed by the search verb.

1193


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

1293


How do you reference the fixed block file formats from cobol programs

1282


) How do u handle errors in BMS macro?

2012


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2064


What is the difference between structured cobol programming and object alternativelyiented cobol?

1296


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

2520


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

914


What do you understand by psb and acb?

1174


HOw can I get the negative sign while deduct high value from low value

2297


What is the problem of ordered sequential files access?

1204