IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is there in any other way to select one record at a time?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Wed Jun 07, 2006 10:50 pm
Reply with quote

I have one file with 10000 records. Is there any other way to select one record at a time from a set of selected records (cursor is facilitating such type... but for more number records is there any other way to hold a set of records)?
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Thu Jun 08, 2006 9:22 am
Reply with quote

I am not sure what you are trying to say here.
Please explain in detail, with sample input and expected output.

Ap_mainframes
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Jun 08, 2006 10:14 am
Reply with quote

Hi,
If you read the file sequentially, I think it "selects" one record at a time !

However, I am not really sure about your requirment. Can you explain it in details?

Thanks,
Parikshit
Back to top
View user's profile Send private message
philipraju
Warnings : 1

New User


Joined: 16 Apr 2006
Posts: 29

PostPosted: Thu Jun 08, 2006 10:53 am
Reply with quote

Is there any other alternative to CURSOR to handle the records
Back to top
View user's profile Send private message
vicky10001
Warnings : 1

Active User


Joined: 13 Jul 2005
Posts: 136

PostPosted: Thu Jun 08, 2006 11:02 am
Reply with quote

u can use select * from emp fetch first 1 row only
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts To get the the current time DFSORT/ICETOOL 13
Search our Forums:

Back to Top