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 |
//step#3 exec pgm = hkbc762 what is wrong with the syntax?
In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd . Where do you generate the date ??in cobol or JCL ??
What is a GDG
suppose i have 10 job steps and i want to execute only step 6.How to write?
whats the diff bw the evaluate also and and?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?
How can return codes be tested before execution of a job step?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
How to use COND Parameter in jcl
how do u define a file in cobol and jcl ?
Explain how can return codes be tested before execution of a job step?