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

Browse a sequential file in VM/CMS


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Wed Jun 16, 2010 6:26 pm
Reply with quote

Hi all,
we are currently using vm/cms operating system and we cannot directly browse the file directly.
Can we write a rexx code to browse the file...can anyone please help or let me the search word for my requirement...


Thanks
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Jun 16, 2010 6:45 pm
Reply with quote

Can you elaborate on why you cannot browse the file?
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Wed Jun 16, 2010 6:47 pm
Reply with quote

because there is no ISPF panel like in MVS....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jun 16, 2010 7:11 pm
Reply with quote

This PDF is hopefully applicable to your situation.

if indeed it is, refer to 19.1.4 Displaying a Text File's Contents
using the TYPE command.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 16, 2010 8:13 pm
Reply with quote

Hello,

It has been far too long, but once upon a time i recall using "xedit". . .

Will this not work for you?
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Wed Jun 16, 2010 10:26 pm
Reply with quote

@Dick Brenholtz : Let me check this document and will get back to you after my research.

@dick: i am not aware of "xedit"...let me find out more about xedit.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 16, 2010 11:13 pm
Reply with quote

Hello,

Xedit was available on every vm/cms system i used.

The basic command to look at/edit a file was:
xedit filename filetype filemode

Check with your support people.

Also, this was where i first saw rexx. . .
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Thu Jun 17, 2010 3:01 pm
Reply with quote

@dick scherrer: Yes, you are correct.

@dbzTHEdinosauer: can you provide me all the part of the same document. I am new to vm/cms or let me know the site where i can download it.

Thank you all for your help.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jun 17, 2010 3:58 pm
Reply with quote

I googled VM/CMS and looked thru available results until I found that PDF.
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Thu Jul 22, 2010 2:41 pm
Reply with quote

@dick scherrer: I want to start the topic again. XEDIT is only to view the entities in FL or RL or VMLIB....
But to view data in an epic file or vsam file we have to dump the data thru sort or easytrive in our RL and then view the file (dump data).
I wanted to create something like ZB command to browse the epic file. For example

BRZ TEST LCCDXXX

Where BRZ will be the exec
next input will give the region
next input will be name of file to browse.

Can this be done. can anyone provide me some information.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 22, 2010 2:51 pm
Reply with quote

in case you did not get back to your thread about rexx:

VM Manuals
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 23, 2010 1:10 am
Reply with quote

Hello,

Is your system actually running jobs in VM or is the VM system primarily the host for a DOS/VSE guest?

All of the VM id's i've had for 30 over years were to front for VSE environments. We used tools in VSE to look at and work with data used by/in vse .

What you might use would depend on which were installed - something the vse system support people would know. If your system is running vse, i expect there are some tools available.
Back to top
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Fri Jul 23, 2010 7:29 am
Reply with quote

Hi Dick,

All the jobs are running in VM and there is no tool to view the data in epic or vsam files. we need to dump in RL(readers list) and then view.
What actually i am thinking is to write a generic REXX or COBOL code read the input file and dump the data just as ZB command will do in TSO.

Note: this is not a requirement but just to make life simple when working with VM. icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 23, 2010 8:51 am
Reply with quote

Hello,

Something that might help is DITTO - a file utility that is very old and runs (ran) on mvs, dos, dos/vse, vm, z/os, etc.

It is possibly (probably) available on your VM system.

There is some intro info here:
dtsc.dfw.ibm.com/MVSDS/'HTTPD2.DITLPMST.PDF'
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top