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...

Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.

Answer Posted / sreedhar naidu dhekodna

In the above Question there are no details about how the
file is getting created say, whether they are creating a
file using a program which may or may not populate data
into the file or using some IBM utilities for the sake of
only creation of file.

Consider the first Case: If file is getting created in a
step where the program may or maynot populate the file,

Then we can use IDCAMS or INSYNC or FILEAID or some
other utilities to check the emptiness of a file.

If it is the other case: Using file creation utilities only
for the sake of creation then only we can use cond
parameter.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the dd keylen parameter?

1219


What is the purpose of dd?

1238


what are the various stages of job processing?

1282


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

1258


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1402


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

1248


How can the submitting users racf authority be overridden in a job stream?

1265


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2293


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2759


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

1313


i want to store 20 digits . how will u do it in cobol ?

1418


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

1127


Is it possible to code instream data in a PROC?

1330


Explain about ISPF/TSO Commands

1949


Which dd parameters are required?

1185