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
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) ?
What is the purpose of dd * statement in jcl?
in ways data can be passed to a COBOL program from JCL?
Is acct parameter mandatory?
What are the 4 fields in dd statement?
What is the function of dd name parameter with a 2 part structure; audit.report?
What is the function of the dd avgrec keyword in sms datasets?
Explain the function of //jcllib statement?
What parameter of the job statement is used to limit the cpu time consumed by the job?
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?
How can a jobs execution priority be modified?
how to compare two datasets without using superce because output is limited to 133 bytes
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?
What do you understand by the terms: joblib and steplib?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?