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 to execute 2nd and 4th steps among 5 steps in jcl proc?

1213


What do you understand by the term notcat 2 – gs?

1192


Which dd parameters are required?

1110


what is use of dcb parameter in dd statement?

1238


Explain the hierarchy levels in jcl?

1628


Explain the function of //cntl statement?

1104


What is multithreading in jcl?

1397


what is DD statement is used in JCL?

1130


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1318


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

1243


how you can direct the data to spool using SYSOUT option?

1408


How gdg are concatenated?

1058


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2502


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1137


when does a dataset go uncataloged?

1250