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

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

8 Answers  


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  


How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?

0 Answers   UHG,


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

0 Answers   CGI, Verizon,






Max. No of DD statements in a job ?

4 Answers   CSI,


Can we give two user name in NOTIFY parameter in JOBCARD

1 Answers   Syntel,


i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?

3 Answers   IBM,


When we give TYPERUN = SCAN , what are the syntax errors we get?

5 Answers   Kanbay,


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


How to check empty file in jcl?

4 Answers   Infosys,


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,


Categories