You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Is there a way to set/change the current library for an active connection, through a bash script?
E.g., if this is my current library list:
is there a command that can be run in a bash script to change the current library to e.g., AEFLIB?
I tried something like this:
echo "liblist -c AEFLIB" | ssh user@mysystem
or
ssh myuser@mysystem "system 'CHGCURLIB AEFLIB'"
but that doesn't seem to affect the User Library List as shown in VS Code.
I'd also need to be able to add or remove a library from that library list through a script.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,

Is there a way to set/change the current library for an active connection, through a bash script?
E.g., if this is my current library list:
is there a command that can be run in a bash script to change the current library to e.g., AEFLIB?
I tried something like this:
echo "liblist -c AEFLIB" | ssh user@mysystem
or
ssh myuser@mysystem "system 'CHGCURLIB AEFLIB'"
but that doesn't seem to affect the User Library List as shown in VS Code.
I'd also need to be able to add or remove a library from that library list through a script.
Beta Was this translation helpful? Give feedback.
All reactions