GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 97 of 128    Print  
How to update a particular row in a file using JCL?
Any utilities? Don't want to use any programs.


  
Total Answers and Comments: 2 Last Update: December 19, 2008     Asked by: etajay 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 09, 2007 06:04:21   #1  
neeraja        

RE: How to update a particular row in a file using JCL...


Use disp mod

to append the records to a file.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
December 19, 2008 19:40:02   #2  
serken Member Since: December 2008   Contribution: 8    

RE: How to update a particular row in a file using JCL?
JCL itself cannot update any file. JCL only can execute other programs. Period.

Any file update can be done either by a standard utility program or by specifically written user program. Period.

 
Is this answer useful? Yes | No

 Related Questions

The DD statement links the external dataset name (DSN) to the DDNAME coded within the executing program. It links the file names within the program code to the file names know to the MVS operating system. 
Latest Answer : DD statement is the DATA DEFINITION Statement.It's function is to give a symbolic name to a file. This will allow a program to access a file through this name so that the file name may be changed without effecting the program. There are several ...

Data definition name is the eight character designation after the // of the DD statement. It matches the internal name specified in the steps executing program. In COBOL that's the name specified 
Latest Answer : The DD name is the logical 8 characters file name which alllows the pplication program to identify or tag the dataset.Whereas the DSN is the physical file name used by the MVS to identify the dataset.like in any application program we can write ...in ...

For an output file DUMMY specifies that the output is to be discarded. For input it specifies that the file is empty.  
Latest Answer : If u r not giving any input values  using below control cardi.e. in the sysin dd *   Then we r using this.When we r using this dummy o/s simulates the presence of this file.When u r reading a file o/s sends the end of file request ...

Latest Answer : Use date parameter ...

What could be the disposition parameter that i would have to use in the jcl if i have a file that has to be created newly for every successful run of the program ,but at the same time it should retain the old data if my program abend in the middle and restarts. could you please provide me the code?
Read Answers (5) | Asked by : vineeth

Latest Answer : Sort it, dummying out SORTOUT ...
Read Answers (6) | Asked by : Basu

Latest Answer : Here's a simple DFSORT alternative using ICEMAN that will count the records of a PS and write it onto another PS.//CTRCDS EXEC PGM=ICEMAN //SYSOUT DD SYSOUT=* //SORTIN DD DSN=INPUT.FILENAME1,DISP=SHR --->Input file//SORTOUT DD DSN=OUTPUT.FILENAME1,DISP=OLD ...
Read Answers (4) | Asked by : Anitha

Latest Answer : VSAM return codes are documentted in the IDC3009I error message. There are too many to memorize. Either print it off or keep it in a file on our PC. Anyone working with VSAM or VSAM cats will reter to it often. ...
Read Answers (5) | Asked by : Rajkumar

Any utilities? Don't want to use any programs. 
Latest Answer : JCL itself cannot update any file. JCL only can execute other programs. Period.Any file update can be done either by a standard utility program, or by specifically written user program. Period. ...
Read Answers (2) | Asked by : etajay

Job have 3 steps in 1) Step01 creating New GDG file(+), 2) Step02 Delete file(+), 3) Step03 create new GDG file with same file name What is the version for that file?
Read Answers (3) | Asked by : ddbabu


 Sponsored Links

 
Related Articles

What is Data File

In a logical data model, the conceptual data model which is based on the business semantic is being defined. Thus, entities and relationships and corresponding table and column design, object oriented classes, and XML tags, among other things are being laid regardless of the database will be physica
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Mainframe Features

Mainframe Features In this Mainframe tutorial you will learn about features of Mainframe Processing power memory capacity performance computing multiple operating system time sharing reliability serviceability availability clustering technology and other features available in Mainframe mosgoogle cen
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

PHP Tutorials - File manipulation (Part-2)

File manipulation Part 2 In this PHP Tutorial you will learn the 2nd Part of File Manipulation Reading lines from a file Reading arbitrary amounts of data from a file Writing to a file Creating directories Removing a directory and Opening a directory for reading mosgoogle Reading lines from a file T
 

PHP Tutorials – File manipulation (Part 1)

PHP Tutorials File manipulation Part 1 In the PHP Tutorial You will learn about File manipulation Part 1 Checking file existence A file or directory Determining file size Creating and deleting files and Opening a file for writing reading or appending mosgoogle Checking file existence You can test
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape