View previous topic :: View next topic |
Author |
Message |
sanjayr321 Beginner
Joined: 25 Sep 2006 Posts: 28 Topics: 15
|
Posted: Wed Sep 10, 2008 7:36 pm Post subject: XCOM using Hostname |
|
|
Hi,
Is it possible to XCOM a file from Mainframe to server by specfying a hostname instead of IP address.
I.E
If I specified IP addr, its working fine
IPNAME=10.20.300.400
TYPE=SEND
FILETYPE=FILE
USERID=XXXX
PASSWORD=YYY
COMPRESS=COMPACT
CKPT=0
CODE=EBCDIC
FILEOPT=REPLACE
LFILE=MS1986.XCOM.file
FILE=//data/XCOM/TSST/FIN_20080910.txt
when I tried to execute the same JCL by specifying hostname of that particular IP, job ended with error msg "HOSTNAME" data invalid.
HOSTNAME=TSTFIN.FIN.SU.AB
TYPE=SEND
FILETYPE=FILE
USERID=XXXX
PASSWORD=YYY
COMPRESS=COMPACT
CKPT=0
CODE=EBCDIC
FILEOPT=REPLACE
LFILE=MS1986.XCOM.file
FILE=//data/XCOM/TSST/FIN_20080910.txt
XCOM doesn't support the HOSTNAME ? any other solution is there to do XCOM using hostname.please advise.
Thanks. |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu Sep 11, 2008 6:46 am Post subject: |
|
|
what does the mnual say - does it support HOSTNAME? You say it doesn't so if that is true then you have answered your last question. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
Nancy Lipp Beginner
Joined: 15 Sep 2008 Posts: 1 Topics: 0
|
Posted: Mon Sep 15, 2008 11:12 am Post subject: XCOM and HOSTNAME |
|
|
You need to specify
IPNAME= TSTFIN.FIN.SU.AB
IPNAME accepts either an address or name.
Nancy |
|
Back to top |
|
|
|
|