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
 
passing the output of the VER statement to a variable

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

New User


Joined: 27 Feb 2009
Posts: 2
Location: Bangalore

PostPosted: Fri Feb 27, 2009 11:30 am    Post subject:
Reply with quote

Hi,
i am using the ver staement in aa pnel to check the valid values.
VER(&REG,NB,INCLUDE,ALPHAB).
using this, i get a meesage on the RHS on the top of the panel.But i want to pass it to a message variable which i have declare.Can anybody help me out on this?
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: Fri Feb 27, 2009 9:36 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

Quote:
Can anybody help me out on this?
Possibly, when your request is better understood.

Please post a bit more of the code, an example of what is happening (do not post screenshots - use copy/paste and the "Code" tag), and what you want to happen instead.

You probably do not need to post whole screens, but just the part that shows your requirement.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Sat Feb 28, 2009 10:11 am    Post subject: Reply to: passing the output of the VER statement to a varia
Reply with quote

I think you want the VER to be used in conjunction with an IF statement.
Code:

IF (VER(&REG,NB,INCLUDE,ALPHAB))
    &MSGID = 'MSG001'
ELSE
    &MSGID = 'MSG002'
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 java.io.FileNotFoundException - passi... Virendra Shambharkar Java & MQSeries 5 Mon Feb 26, 2018 11:41 am
No new posts How to get the output from submit com... Joanna2016 CLIST & REXX 10 Tue Feb 06, 2018 7:26 am
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm

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