Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to specify VSAM file to accept input from panel

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

New User


Joined: 23 Apr 2005
Posts: 39
Location: delhi

PostPosted: Sat Feb 28, 2009 12:57 am    Post subject: How to specify VSAM file to accept input from panel
Reply with quote

I have little knowledge on REXX so your help is highly appreciated.

I want to design a utility like below.

A panel should accept name and identifier as input. I want a VSAM file to be read to get the data based on the input and display on panel. I was thinking about using CALL command to invoke the COBOL module LINKMVS to display on panel. But I am not sure how and where I can specify my VSAM file? Can you please let me know how can I achieve this and is my design workable?
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Sat Feb 28, 2009 1:02 am    Post subject: Reply to: Design help required
Reply with quote

OK. Dumb question time. Why REXX? Instead of calling a COBOL routine, why not just write the whole thing in COBOL?

But, to answer your question, your VSAM dataset would be allocated via a standard TSO/E ALLOCATE command.

And instead of LINKMVS you can use just a standard TSO/E CALL command or ISPF SELECT Service.

*UPDATE*

I just noticed another topic of yours with a SAS question. If not COBOL, then why not maybe write this whole thing in SAS?
Back to top
View user's profile Send private message
sreenivasreddyg

New User


Joined: 23 Apr 2005
Posts: 39
Location: delhi

PostPosted: Sat Feb 28, 2009 1:36 am    Post subject:
Reply with quote

Thanks for the information.

I wanted to try this in REXX so that I can learn REXX.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Sat Feb 28, 2009 1:44 am    Post subject: Reply to: Design help required
Reply with quote

OK. Certainly doable.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Mar 01, 2009 11:54 am    Post subject:
Reply with quote

Tip: If you want to read a record from a VSAM file based on a key using REXX, it's better to invoke IDCAMS REPRO with FROMKEY-TOKEY operands from within your REXX.

In addition, there are some free functions for REXX/VSAM. Please check CBTTAPE site.

O.
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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us