IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAM - REXX Using FILEMGR


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
swathykrishnan

New User


Joined: 01 Oct 2010
Posts: 43
Location: Bangalore

PostPosted: Mon Jun 01, 2015 4:09 pm
Reply with quote

Hi,

I am trying to read a VSAM file using FILEMGR option. The code is given below.
trace r

Code:
FILEMGR "$VX  DSNIN='Myvsam.test', VARNAME=STEM."       
                       
/* Show stem contents                      */     
do i = 1 to stem.0;                               
    say 'Record' i '=' stem.i;                   
    end;   


But i am getting error message
Code:
IKJ56500I COMMAND FILEMGR NOT FOUND


And I got the code from the manual given below.
http://www-01.ibm.com/support/knowledgecenter/#!/SSXJAV_13.1.0/com.ibm.filemanager.doc_13.1/base/vxfun.htm

Do we need FILEMGR installed? Or is there any issue in code?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1110
Location: Dublin, Ireland

PostPosted: Mon Jun 01, 2015 4:55 pm
Reply with quote

Quote:
Do we need FILEMGR installed? Or is there any issue in code?


If FILEMGR isn't installed, how do you expect to invoke it?

Garry.
Back to top
View user's profile Send private message
swathykrishnan

New User


Joined: 01 Oct 2010
Posts: 43
Location: Bangalore

PostPosted: Mon Jun 01, 2015 7:31 pm
Reply with quote

ohh. ok... I thought that it will avaliable in MVS by default.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts REXX SDSF filtering CLIST & REXX 8
No new posts Trying to reference a javascript glob... CLIST & REXX 7
No new posts REXX - Adding variables CLIST & REXX 8
No new posts Help this REXX Rookie-Bad arithmetic ... CLIST & REXX 7
No new posts Map VSAM Dataset to a Table/Tablespace DB2 2
Search our Forums:

Back to Top