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 |
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
Name what parameter directs the output of the job log dataset?
Explain about Internal Sort
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
is step name is compulsory in jcl ?
How do you override a parameter in Positional parameters?
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?
How to fetch even records from one file to another file by using ICETOOL in JCL?
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
how to edit a tape dataset ? asked in wipro
what are the symbolic parameters? why do we use symbolic parameters ?
2 Answers IBM, TCS, UST, Xansa,
i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?