View previous topic :: View next topic |
Author |
Message |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Tue Feb 27, 2007 2:13 am Post subject: browse the records of a VSAM KSDS dataset |
|
|
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 |
|
 |
blitz2 Beginner

Joined: 23 Jan 2007 Posts: 84 Topics: 14
|
Posted: Tue Feb 27, 2007 5:42 am Post subject: |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Tue Feb 27, 2007 6:10 am Post subject: |
|
|
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 |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Tue Feb 27, 2007 12:05 pm Post subject: |
|
|
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 |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Feb 27, 2007 12:13 pm Post subject: |
|
|
Why do you need a EXEC CICS command to browse through a file in CICS region ? _________________ Regards,
Programmer |
|
Back to top |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Tue Feb 27, 2007 12:20 pm Post subject: |
|
|
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:
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Feb 27, 2007 12:37 pm Post subject: |
|
|
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.
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 |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Feb 27, 2007 12:49 pm Post subject: |
|
|
Try this:
CEMT I FILE file-name READ _________________ Regards,
Programmer |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Feb 27, 2007 12:54 pm Post subject: |
|
|
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 |
|
 |
yadav2005 Intermediate

Joined: 10 Jan 2005 Posts: 348 Topics: 144
|
Posted: Tue Feb 27, 2007 12:55 pm Post subject: |
|
|
Thanks Kolusu and programmer1 for your help. |
|
Back to top |
|
 |
|
|