Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
EDIT MACRO for viewing VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
rohitsir

New User


Joined: 21 Aug 2007
Posts: 32
Location: USA

PostPosted: Wed May 14, 2008 4:01 am    Post subject: EDIT MACRO for viewing VSAM
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Wed May 14, 2008 4:33 am    Post subject:
Reply with quote

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. . . icon_smile.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed May 14, 2008 5:12 am    Post subject: Reply to: EDIT MACRO for viewing VSAM
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed May 14, 2008 5:57 am    Post subject: Reply to: EDIT MACRO for viewing VSAM
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon May 19, 2008 11:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
kishorekyn

New User


Joined: 20 Feb 2008
Posts: 5
Location: Chennai

PostPosted: Sat Jun 14, 2008 12:04 pm    Post subject: Reply to: EDIT MACRO for viewing VSAM
Reply with quote

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
View user's profile Send private message
Matt Strohbehn

New User


Joined: 02 Oct 2007
Posts: 1
Location: Little Rock

PostPosted: Tue Jul 01, 2008 12:34 am    Post subject: Reply to: EDIT MACRO for viewing VSAM
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us