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

Name the statement which can be used to send data to another mvs jes3 node?

1169


what is the purpose of coding class parameter in job statement?

1243


Suppose I have five jobs to do. But I want to hold one?

1116


What are the parameter we cannot use in procedure?

1103


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?

1284


which parameter is used to check the syntax of a jcl without executing it?

1346


Explain dfsort utility?

1323


Explain the function of //cntl statement?

1152


Explain how can return codes be tested before execution of a job step?

1313


write a jcl to execute a job by 7:00 am on jan 20,1986?

1101


what operation is performed by job statement?

1108


What is the maximum length of a single line of jcl?

1341


what are the types of abends that occur on job failure? And explain the possible causes of these

1600


what is the difference between JES3 and JES2?

1118


What is the use of symbol // in jcl?

1465