Ask Your Question
1

Get list of owners

asked 2014-07-29 14:50:19 -0600

José gravatar image

I need a list of all owners to use on atrnint.
I am using aownerint(sid_Uy_500, 2, 'NUMBER') and I get ierr = 2 ("Invalid SID value").
The subsystem is defined with psspy.bsys(sid_Uy_500, 1, [500, 500], len(nums_areas_Uy), nums_areas_Uy, 0, [], 0, [], 0, []), I get ierr = 0 ("No error") and it is used with no problems in abusint(sid_Uy_500, 2, 'NUMBER') Any help?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2014-07-29 18:02:15 -0600

Eli Pack gravatar image

I can't think of a good reason why the SID will work with abusint(), but not with aownerint(). Have you called bsys() immediately before aownerint(), because maybe your sidUy500 variable is out of scope? Try printing it right before you use it. Or, if you just need a list of "all owners", try using -1 as the SID flag:

aownerint(-1, 2, 'NUMBER')
edit flag offensive delete link more

Comments

1

I could get all owners using -1 as the SID flag, thanks!

José gravatar imageJosé ( 2014-07-30 09:23:46 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2014-07-29 14:50:19 -0600

Seen: 284 times

Last updated: Jul 29 '14