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 / krishna

Move the sting in to a variable Eg to WS-String
then

Move 'a' to ws-string(4:1)

hope this will work

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2225


What is the purpose of dd * statement in jcl?

1282


in ways data can be passed to a COBOL program from JCL?

1216


Is acct parameter mandatory?

1197


What are the 4 fields in dd statement?

1259


What is the function of dd name parameter with a 2 part structure; audit.report?

1232


What is the function of the dd avgrec keyword in sms datasets?

1334


Explain the function of //jcllib statement?

1204


What parameter of the job statement is used to limit the cpu time consumed by the job?

1271


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2751


How can a jobs execution priority be modified?

1285


how to compare two datasets without using superce because output is limited to 133 bytes

2103


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

10138


What do you understand by the terms: joblib and steplib?

1164


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1217