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 have a string of 80 chars i want to replace 4th char with "a"?

Answer Posted / mchava

first move string 4th position to one variable

ex: string(4:1)=ws-string

then use inspect and replace words
ex: INSPECT STRING REPLACING WS-STRING BY 'a'
BEFORE SPACE/'.'/(end of the sting).

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of dd disp parameter?

1052


is there any way to execute more than one proc in the same exec statement at the same time..?

2582


How to run cobol program using jcl?

1157


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

2120


How would you understand error(execution phase)?

1171


How to alter the parameters for the existing gdg?

1144


How to pass the parameter in parm using linkage section ? (syntax)?

1074


What is catelog procedure and how many catelog procedure to use in one job?

8554


How jcl is used for testing batch programs?

1221


List the different components of jcl statement?

1035


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1195


how to run batch program without jcl?

11335


Explain the function of //cntl statement?

1109


List the various advantages of using jcl language?

1389


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1458