how to display the dataset information?
Answers were Sorted based on User's Feedback
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 |
Answer / parvatraj m bhuti
Using IDCAMS utility, use LISTCAT you can get the informatiom
| Is This Answer Correct ? | 1 Yes | 0 No |
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.
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
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.
how to move the records from file to array table. give with code example
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.
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
What is report-item?
What is an in line PERFORM? When would you use it? Anything else to say about it?
In the JCL, how do you define the files referred to in a subroutine ?
What are the different ways to run a COBOL DB2 program using JCL?
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.
how to know that the file has 300 records how to acess it?