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 / 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 |
When space is allocated for an output dataset, what units can be used?
What is difference between Return Code, user completion code, Abend code and reason Code?
common jcl abends??
what are the options in file-aid to edit vsam dataset and to compare data sets.
What is the difference between joblib and jcllib statements
Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
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
How do you restart a PROC from a particular step?
If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this?
13 Answers Cognizant, Convergys, IBM, TCS, Wipro,
How do you check the syntax of a JCL without running it?
what is a MODELDSCB?
what is DSN in JCL and what are the parameters to declare the DSN?