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 are a set of 10 files and a customer will be
selecting random no of files(i.e they may be more than 2,
may not be in the order).Sometimes he might just select
one file or sometimes no files at all.How do you code a JCL
for this? Is it possible to code just JCL alone for this
problem?

Answer Posted / piyush mani

obsly file will b either in form of ps or pds so we can
accept the input of user dynamically(sysin/parm) as a ws variable
like this
//sysin *
4
1
5
6
7
/*
//
here 4 is the no of record we r selecting and cobol progr will run the logic of file-open para 4 times
and then we can open the file
as per d user requirement...


this is a cobol approach but how 2 do it by using jcl
plz any1 tell me...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How jcl is used for testing batch programs?

1354


What are the 2 types of parameters in dd statement?

1210


How can a fb file convert to vb file using sort program?

1397


In job processing, what happens in conversion stage?

1241


How can values be passed from the job stream to an executable program?

1521


What parameter directs the output of the job log dataset?

1328


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

1385


Explain the function of job statement in jcl?

1266


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1288


how do you access an uncataloged dataset in a jcl?

1815


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1190


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5599


Explain the function of the steplib dd statement?

1179


Differentiate between the joblib and the steplib statements?

1519


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

1134