MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XCOM using Hostname

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
sanjayr321
Beginner


Joined: 25 Sep 2006
Posts: 28
Topics: 15

PostPosted: Wed Sep 10, 2008 7:36 pm    Post subject: XCOM using Hostname Reply with quote

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
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu Sep 11, 2008 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Nancy Lipp
Beginner


Joined: 15 Sep 2008
Posts: 1
Topics: 0

PostPosted: Mon Sep 15, 2008 11:12 am    Post subject: XCOM and HOSTNAME Reply with quote

You need to specify
IPNAME= TSTFIN.FIN.SU.AB

IPNAME accepts either an address or name.

Nancy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group