MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

browse the records of a VSAM KSDS dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Feb 27, 2007 2:13 am    Post subject: browse the records of a VSAM KSDS dataset Reply with quote

Hai All,

Can we browse the records of a VSAM KSDS dataset in the CICS REGION ? If possible how can we do that , is there any command to do that ?
Back to top
View user's profile Send private message
blitz2
Beginner


Joined: 23 Jan 2007
Posts: 84
Topics: 14

PostPosted: Tue Feb 27, 2007 5:42 am    Post subject: Reply with quote

What debugger do you use at your shop for your online programs?
________
List of Chrysler vehicles specifications


Last edited by blitz2 on Wed Feb 02, 2011 3:12 am; edited 1 time in total
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Feb 27, 2007 6:10 am    Post subject: Reply with quote

You can use the CECI transaction to invoke almost any CICS command, including READ.

O.
________
Nigel Mansell


Last edited by ofer71 on Sat Feb 05, 2011 11:57 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Feb 27, 2007 12:05 pm    Post subject: Reply with quote

Ofer,

How can we execute the command :
Code:

READ FILE                               
STATUS:  COMMAND SYNTAX CHECK           
 EXEC CICS  READ                       
  File()                               
  < SYsid() >                           
  ( SEt() | Into() )                   
  < Length() >                         
  RIdfld()                             
  < Keylength() < GEneric > >           
  < RBa | RRn | DEBRec | DEBKey >       
  < GTeq | Equal >                     
  < Update < Token() > >               

Please let me know the exact screen shot which will display the records.Thanks.
Back to top
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Feb 27, 2007 12:13 pm    Post subject: Reply with quote

Why do you need a EXEC CICS command to browse through a file in CICS region ?
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Feb 27, 2007 12:20 pm    Post subject: Reply with quote

programmer1,

I really do not know how to Browse the records of a VSAM Dataset and after logging into CICS Region i am entering the command:
Code:

CECI READ FILE

and i am getting the screen:
Code:

READ FILE                           
STATUS:  COMMAND SYNTAX CHECK       
 EXEC CICS  READ                   
  File()                           
  < SYsid() >                       
  ( SEt() | Into() )               
  < Length() >                     
  RIdfld()                         
  < Keylength() < GEneric > >       
  < RBa | RRn | DEBRec | DEBKey >   
  < GTeq | Equal >                 
  < Update < Token() > >           

Please let me know if u have idea as how to browse records of a VSAM KSDS Dataset in a CICS Region.Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Feb 27, 2007 12:37 pm    Post subject: Reply with quote

yadav2005,

you need to provide the 8 character filename associated with vsam file you are trying to browse

Code:

CECI READ FILE(8 character filename)


if you don't know the 8 character name then you can inquire the file name and find it out.
Code:

CEMT I FILE


It lists all the files in the system, check your file and 8 byte associated to it

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Feb 27, 2007 12:49 pm    Post subject: Reply with quote

Try this:

CEMT I FILE file-name READ
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Feb 27, 2007 12:54 pm    Post subject: Reply with quote

gee, how fortunate to have all these real time answers. sure saves reading the manual - or asking the guy next to you.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Feb 27, 2007 12:55 pm    Post subject: Reply with quote

Thanks Kolusu and programmer1 for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group