Established plug to ACF2 via SSH
search cancel

Established plug to ACF2 via SSH

book

Article ID: 220747

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

Not able to issue ACF2 commands using OpenSSH utility

Resolution

ACFUNIX utility can issue commands to ACF2 in a batch like mode from a TSO or USS prompt. It can be used similar to the TSO command after creating a symbolic link from the ACFUNIX load module and then invoke SSH to issue the ACF2 commands as shown below:

1. Invoke Windows PowerShell(OpenSSH)

2. Logon to SSH using your id: SSH [email protected]

3. Enter your Password

4. Issue: $ export PATH=$PATH:/u/user/logonid 

5. List the ACFUNIX path using: Ls                                      

6. Issue ACF2 commands using ACFUNIX: acfunix 'list logonid'       

7. To issue multiple commands: acfunix 'MULT set control(gso)~list opts~set lid~list logonid'

Additional Information

PTF required for ACFUNIX utility:

PTF SO07541: ADD ACF COMMAND LINE INTERFACE FOR USS/OMVS

There is another optional PTF to write output to a dataset:

PTF SO14540: UPDATE ACFUNIX TO ALLOW OUTPUT TO BE WRITTEN TO A DATASET