When can the USING phrase be included in the call
statement ?
Answers were Sorted based on User's Feedback
Answer / abhinesh
When Called Programs
Have Inputs and Outputs
That shud be provided in using clause
Is This Answer Correct ? | 1 Yes | 0 No |
What are subroutines ? and how do we pass data to the sub routines?
Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?
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
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,
how can you identify wheather the program is using search or search all in the cobol program?
what are the limitations of Inline Perform?
for an INITIALIZE and what keyword allows for an override of the default.
Write the code implementing the perform … varying.
Should I use STOP RUN in the sub program??why?
record length in spool?