|
|
| Author |
Message |
rohitsir
New User
Joined: 21 Aug 2007 Posts: 32 Location: USA
|
|
|
|
Hi,
My requirement is to view any vsam file by pointing the cursor to it and typing the macro on the command line to execute the edit macro.
I have no idea how to handle vsam files thru edit macro. My shop uses file manager to view vsam files.
Rohit |
|
| Back to top |
|
 |
References
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8732 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| I have no idea how to handle vsam files thru edit macro. My shop uses file manager to view vsam files. |
I believe you need to continue to use file manager, fileaid, or some other tool.
I do not believe that the standard edit macro will process vsam files.
If i'm mistaken, i'm sure corrections will be posted. . .  |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3304 Location: Charlotte,NC USA
|
|
|
|
| My guess is that the edit macro will either be written in CLIST/REXX and will call a program to handle the VSAM I/O, will be written in REXX and will use one of the available add-on REXX/VSAM modules (these have been discussed here before), or will be written in a compiled language that can natively handle VSAM I/O (i.e. COBOL or Assembler). |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 536 Location: work
|
|
|
|
Sorry, do not know much about VSAM...
If I had that requirement, I would write i/o routines in assembler and then also use the EDIF service (Edit Interface) to show the records in the editor. With EDIF, it will look like the ISPF editor. You also have to provide some routines to do the reading and writing. |
|
| Back to top |
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1506
|
|
|
|
The shop I'm at now uses Ditto to manipulate VSAM files under ISPF. They also have FileAid.
You may wan't to ask your Sysprog people about Ditto. |
|
| Back to top |
|
 |
kishorekyn
New User
Joined: 20 Feb 2008 Posts: 5 Location: Chennai
|
|
|
|
| Type 'TSO DITTO' on the command line, then enter option 2 for editing the VSAM dataset, then enter option 1, give your dataset name in single quotes, you will be in edit mode of all kinds VSAM datasets. |
|
| Back to top |
|
 |
Matt Strohbehn
New User
Joined: 02 Oct 2007 Posts: 1 Location: Little Rock
|
|
|
|
| I have edit macros that allow you to point at a DD statement in JCL, and they will either do ISPF edit/view/browse, or if VSAM, invoke File Manager. There are separate macros for edit, browse and view. If you send me your e-mail address, I can send them to you (if you still need them). |
|
| Back to top |
|
 |
|
|