Published on InterSystems Developer Community (https://community.intersystems.com)

Home > when trying to call $ZF("GETFILE") on OpenVMS

Question
John Murray · Jan 30, 2017

<ILLEGAL VALUE> when trying to call $ZF("GETFILE") on OpenVMS

Per the information at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... I am trying to use a call to $ZF("GETFILE") to obtain information about an OpenVMS file. But I get an <ILLEGAL VALUE> error.

For example:

w $zf("GETFILE",filename,"UIC")

reports:

<ILLEGAL VALUE>

My filename variable contains the full path and name of a file that I own. I hold the %All role in Cache.

This is 2012.1.5 on OpenVMS/IA64  V8.4

Any ideas what's going wrong?

#Caché #Callout #OpenVMS

Source URL:https://community.intersystems.com/post/when-trying-call-zfgetfile-openvms