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
Where can program checkpoints be stored for use in a restart?
Explain the purpose of the dd keylen parameter?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How can the disposition of sysout datasets be set for an entire jobstream?
What do you understand by jcl?
How can values be passed from the job stream to an executable program?
what is use of space parameter in dd statement?
Why include statement is used in a jcl?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
can any one plzzzzzz tell the jcl code for creating ps using idcams
Define concatenating?
how you will the direct the data to spool using sysout option?
How can an in-stream dataset be terminated?
when can a job time-out occur? How to overcome that?
Explain in DD statement what is the use of DCB parameter?