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
 
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: 4650
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: 4650
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 To remove spaces from a VB file using... Selvarajars DFSORT/ICETOOL 4 Thu Jun 21, 2018 6:57 pm
No new posts B059 PREMATURE END OF FILE mvmadhuvenkatesh CA Products 5 Tue Jun 19, 2018 10:50 am
No new posts Formating output file Niki DFSORT/ICETOOL 3 Fri Jun 15, 2018 3:27 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts How to Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm

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