Skip to content

Simple utility to interface with Intersystems IRIS environment from the command line

License

Notifications You must be signed in to change notification settings

RamSailopal/iriscmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

AUTHOR - Raman Sailopal

BACKGROUND - Simple command line utility to interface with Intersystems IRIS environment via an IRIS session

USAGE

- Parameter 1 - The instance name
  
  Parameter 2 - The namespace
 
  Parameter 3 - The objectscript command

example 1:

 iriscmd "IRIS" "USER" 'S ^TEST("TEST")="TEST"'

This will set up a global TEST with a subscript TEST and a value TEST, on an instance named IRIS and in the USER namespace

example 2:

 iriscmd "IRIS" "USER" 'W ^TEST("TEST")'
 TEST

This will return the TEST value created in example 1

PREREQUISITES

  - An installed version of intersystems IRIS (See iris repo for installation with Ansible)
          
  - grep installed on the machine running iriscmd

INSTALLATION - Run:

  git clone https://github.com/RamSailopal/iriscmd.git
  mv iriscmd/iriscmd /usr/local/bin 	

About

Simple utility to interface with Intersystems IRIS environment from the command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages