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
Is it possible to define dd statements as you want?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Define concatenating?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Explain about LMFREE�free data set from its association with data ID
How to pass data to a program that is coded in an exec statement?
Can I share my data with other jobs? How?
How does jcl specify the job to the operating system?
Is it possible to left uncode disp?
write a jcl to execute a job by 7:00 am on jan 20,1986?
what is “Cond= even” and “Cond=only”?
Explain about ISPF/TSO Commands
what is use of disp parameter in dd statement?
in ways data can be passed to a COBOL program from JCL?
what is the resolution for sb37 error