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.

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


Please Help Members By Posting Answers For Below Questions

which utility is used a dummy utility?

1520


Can an individual step be restricted from using all the jobs allowed cpu time?

1599


List the various advantages of using jcl language?

1518


how to do automated restart when a job abends?

1423


Is it possible to code instream data in a PROC?

1391


How is a type of file defined in the jcl that executes the cobol program?

1239


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1338


What is concatenating?

1138


What is the function of //jcllib statement?

1376


what is DSN parameter and DISP parameter is used for?

1206


whats the diff bw the evaluate also and and?

2414


Which dd parameters are required?

1242


How can the attributes of one sms dataset be copied to another dataset?

1473


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1334


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1525