There is one QSAM is the VB file. i want to get the first
characters in this file and change those characters
from'abcd' to '1234' and creat a vasm file to put '1234' in
it. how to do in only JCL.
if it not QSAM, it's VASM and VB. how to do it.
Answer Posted / chandrababu
Using DF sort:
Input file:QSAM file
Output File:VSAM file
(Before create the VSAM file with variable length record
using key field).
Starting Position of the VB file is :5
OUTREC FIELDS=(5:C'1234',9: )
If anything wrong then post the correct one
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
which utility is used a dummy utility?
Can an individual step be restricted from using all the jobs allowed cpu time?
List the various advantages of using jcl language?
how to do automated restart when a job abends?
Is it possible to code instream data in a PROC?
How is a type of file defined in the jcl that executes the cobol program?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
What is concatenating?
What is the function of //jcllib statement?
what is DSN parameter and DISP parameter is used for?
whats the diff bw the evaluate also and and?
Which dd parameters are required?
How can the attributes of one sms dataset be copied to another dataset?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain