i have a string of 80 chars i want to replace 4th char with "a"?

Answer Posted / deepak dada, jaipur

not sure but

inspect string replacing string(4:1) by 'a'


might work

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are some jcl statements that are not allowed in procedures?

691


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1897


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1949


Matching Logic in Jcl not in cobol.Could any one please answer this question

3649


Explain about LMQUERY�give a dialog information about a data set

878






what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

632


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

894


what are JCLLIB and STEPLIB in JCL?

643


Is their any limit for data sets?

679


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

671


Suppose I have five jobs to do. But I want to hold one?

634


What do you understand by the term notcat 2 – gs?

724


What is the function of //cntl statement?

803


When space is allocated for an output dataset, what units can be used?

719


Give the syntax of job specifying jcl statement.

609