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 are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?

2 Answers  


What you mean by skeleton JCl?

2 Answers  


While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?

3 Answers   Steria,


Is it possiable to use a gdg in the INCLUDE statement in a SORT jcl? I am using this because I want to change the condition with out changing the jcl. Please provide with a sample code.

1 Answers  


how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?

6 Answers   CSC,


List some valid operation codes in JCL

3 Answers  


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


I had 100 steps in jcl i want to execute first 10 steps only?

6 Answers   IBM,


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

0 Answers  


hi friends........if u know syntax of IEBEDIT IN JCL

2 Answers  


what is JCL?

0 Answers  


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


Categories