using cursor how can you fetch more than one record into a
variable

Answers were Sorted based on User's Feedback



using cursor how can you fetch more than one record into a variable..

Answer / divya.kadiri

by using loops we can fetch more than one record.try with
for loop

Is This Answer Correct ?    2 Yes 0 No

using cursor how can you fetch more than one record into a variable..

Answer / vaneesh khurana

Only single record is retrieved in the host variables with
each fetch.

Is This Answer Correct ?    0 Yes 0 No

using cursor how can you fetch more than one record into a variable..

Answer / swathiii

By using the host variable u can fetch more than one
records.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


How to override loadlib?

0 Answers   Fiserv,


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

0 Answers  


What is timing concept in mainframe?

0 Answers  


At what stage, operator can change the class and priority of a submitted job?

2 Answers  


How to concatenate different LRECL of files?

2 Answers   IBM,


What is a JCL Command statement ?

1 Answers   IBM,


Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

0 Answers   HF, iNautix,


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

0 Answers  


Min no of member?s (PDS) in one directory block?

10 Answers  


Categories