Skip to main content
Solved

List all file triggers in account?

  • September 22, 2022
  • 1 reply
  • 0 views

Does a command exist for UniData that will list all the data files with triggers in a data account?

I could write a routine to do it, but I'd rather not reinvent a wheel that exists.

Thank you

Best answer by Jonathan Smith

Does a command exist for UniData that will list all the data files with triggers in a data account?

I could write a routine to do it, but I'd rather not reinvent a wheel that exists.

Thank you
Elaine,

No such command exists. You would need to write your own code to do this. If you wanted to write your own code for this and didn't want to do a lot of scraping of the LIST.TRIGGER command, after opening a file FILEINFO 25, 26, 29 and 30 contain the trigger names.

Thanks,
Jonathan

1 reply

Jonathan Smith
Forum|alt.badge.img
  • Rocketeer
  • 356 replies
  • Answer
  • September 22, 2022
Does a command exist for UniData that will list all the data files with triggers in a data account?

I could write a routine to do it, but I'd rather not reinvent a wheel that exists.

Thank you
Elaine,

No such command exists. You would need to write your own code to do this. If you wanted to write your own code for this and didn't want to do a lot of scraping of the LIST.TRIGGER command, after opening a file FILEINFO 25, 26, 29 and 30 contain the trigger names.

Thanks,
Jonathan