How can we encrypt the password in the XCOM transfer JCL ?
search cancel

How can we encrypt the password in the XCOM transfer JCL ?

book

Article ID: 27824

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM Data Transport - z/OS

Issue/Introduction

How can we encrypt the password in the XCOM transfer JCL ?

Environment

Release:
Component: XCMVS

Resolution

The member CAI.CBXGJCL(XCOMENCR) contains sample JCL to encrypt the password:

//JOB CARD
//STEP01 EXEC PGM=XCOMENCR
//*
//STEPLIB DD DSN=xcomhlq.CBXGLOAD,DISP=SHR
//SYSIN01 DD DSN=XCOM.TEST.JCL(PASS),DISP=SHR
//SYSOUT01 DD DSN=XCOM.TEST.JCL(PASSENCR),DISP=SHR

where XCOM.TEST.JCL is a PDS with an LRECL of 80
and XCOM.TEST.JCL(PASS) contains

USERID= XXXXXXXX (substitute your USERID for the XXXXXXXX)
PASSWORD=XXXXXXXX (substitute your password for the XXXXXXX)

Run the JCL to put the encrypted password into XCOM.TEST.JCL(PASSENCR)

This is how to use the encrypted password:
Omit the USERID and PASSWORD from the SYSIN01 parameters
and specify for the SYSIN01:

//SYSIN01 DD DSN=XCOM.TEST.JCL(PASSENCR),DISP=SHR

// DD *

Additional Information

CA XCOM Data Transport for z/OS - 12.0 documentation