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

Are there any set of rules for the names of the steps used in a job? What are they?

1060


What is the maximum length of a single line of jcl?

1340


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1291


What is the purpose of dd dummy statement?

1441


Explain the purpose of dd dummy statement?

1200


Name a few IBM utility programs, and explain its function.

4946


List the different jcl statements that are not permitted in the procedures?

1061


Is it possible to define dd statements as you want?

1097


which parameter is used to check the syntax of a jcl without executing it?

1343


when can a job time-out occur? How to overcome that?

1266


Explain the job statement in jcl?

1147


Can we call instream to catalog and catalog to instream?

1121


Matching Logic in Jcl not in cobol.Could any one please answer this question

4147


List the various advantages of using jcl language?

1435


For what purpose steplib and joblib are used ?

1125