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: 2086
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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

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