Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.



There is one QSAM is the VB file. i want to get the first characters in this file and change those ..

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

Post New Answer

More JCL Interview Questions

WHAT IS DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?

3 Answers  


what is the compile process of cobol program expalin with code

0 Answers   IBM,


Is there any command to check wether the ps file is in sorted order?

4 Answers  


whats SOC7?

1 Answers   Patni,


What is the difference between catalogue procedure and In-Stream procedure?

2 Answers  


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,


I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:

4 Answers   ITC Infotech, TCS,


What is the difference b/w the CLASS,TIME,PRTY in jcl job card.

4 Answers   Syntel,


what is the cond=even only

4 Answers   EDS,


What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


What are the valid DSORG values ?

3 Answers  


How do you restart a step in JCL?

12 Answers   HSBC,


Categories