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: 1193
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top