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: 1100
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 Any examples of calling FTP from REXX? CLIST & REXX 1
No new posts SummeRx: a new framework for REXX z/OS CLIST & REXX 6
No new posts A command to change LRECL of an exist... JCL & VSAM 7
No new posts Using REXX to access SDSF; What am I ... CLIST & REXX 38
No new posts FILE STATUS - 39 ON VARIABLE LENGTH V... COBOL Programming 2
Search our Forums:

Back to Top