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

Is it possible to define dd statements as you want?

1115


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1258


Define concatenating?

1101


if the submitter of a job wants to inform another user about the job completion, how can it be done?

1248


Explain about LMFREE�free data set from its association with data ID

1632


How to pass data to a program that is coded in an exec statement?

1335


Can I share my data with other jobs? How?

1115


How does jcl specify the job to the operating system?

1245


Is it possible to left uncode disp?

1206


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

1114


what is “Cond= even” and “Cond=only”?

1313


Explain about ISPF/TSO Commands

1949


what is use of disp parameter in dd statement?

1102


in ways data can be passed to a COBOL program from JCL?

1223


what is the resolution for sb37 error

9125