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

How do you define a sort file in JCL that runs the COBOL
program?

Answer Posted / nk

//STEP1 EXEC PGM=MYSORTPGM
//INFILE DD DSN=MY.UNSORTED.FILE,DISP=SHR
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(100,20))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(100,20))
//OUTFILE DD DSN=MY.SORTED.FILE,
// DISP=(,CATLG,DELETE),
// UNIT=TEST,SPACE=(CYL,(100,10),RLSE),
// DCB=(DSCB.FB,LRECL=500)
SELECT SORTWK01-FILE ASSIGN TO SORTWK01.
SD SORTWK01-FILE
etc.

Is This Answer Correct ?    15 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2593


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2512


how to move the records from file to array table. give with code example

2723


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1379


What are all the divisions of a COBOL program?

1264


What rules are followed by the search verb.

1191


What are 77 levels used for?

1142


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1301


What are the access modes of START statement?

1321


What is the difference between PIC 9.99 and PIC9v99?

1400


how do you reference the variable unblock file formats from cobol programs

1374


What is Pic 9v99 Indicates in COBOL?

1335


What is the difference between next sentence and continue in cobol programing language?

1271


how do you define single dimensional array and multidimensional array in your cobol?

1147


What are the pertinent COBOL

2618