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 u define a file in cobol and jcl ?

Answers were Sorted based on User's Feedback



how do u define a file in cobol and jcl ?..

Answer / venkateswarlu

In cobol we define a file by using 'SELECT' statement.
In jcl we define it by using 'DD' statement.

Is This Answer Correct ?    7 Yes 0 No

how do u define a file in cobol and jcl ?..

Answer / snehatechm

decalre file in cobol- select filename assign to dd1
in jcl - dd1 will be the ddname for your jcl

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More JCL Interview Questions

hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)

8 Answers  


What is default if we don't specify RD parameter at all ?

1 Answers   IBM,


I have a File that has duplicate records. I need only those records that occur more than thrice.

3 Answers  


Is automatic restart possible in jcl? If yes, how?

0 Answers  


When should DISP=MOD is used?

6 Answers   TCS,


There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?

2 Answers  


consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above

1 Answers  


A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,


what is force complete

2 Answers   IBM,


What does the statements: typrun=scan and typrun=hold do in a JCL statement

2 Answers  


What is a PROC? What is the difference between an instream and a catalogued PROC?

2 Answers  


Can you code instream data in a PROC ?

10 Answers  


Categories