how to display the dataset information?

Answers were Sorted based on User's Feedback



how to display the dataset information? ..

Answer / ramesh moorthy

Infront of Dataset(In cmd line) put select or Info command
u ll get the informations of the dataset.

Is This Answer Correct ?    10 Yes 0 No

how to display the dataset information? ..

Answer / parvatraj m bhuti

Using IDCAMS utility, use LISTCAT you can get the informatiom

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


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 displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error

4 Answers   TCS,


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


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

1 Answers   ADP, Syntel,


I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.

10 Answers   Mascon,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


What is report-item?

1 Answers   IBM,


What is an in line PERFORM? When would you use it? Anything else to say about it?

4 Answers  


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


how to know that the file has 300 records how to acess it?

0 Answers   Hewitt, TCS,


Categories