Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

XCOM Failure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
akumaras

New User


Joined: 06 Jul 2012
Posts: 10
Location: india

PostPosted: Wed Apr 10, 2013 12:22 am    Post subject: XCOM Failure
Reply with quote

Hi,

I got a requirement to add current date to the file name and the same should be x com to another server from mainframe. Please see the below JCL

//STEP03 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=FILE.LFILE,DISP=SHR
//SORTOUT DD DSN=FILE.LFILE1,DISP=OLD
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,41,42:DATE1-1,50:C'.CSV')
/*
//XCOM01 EXEC ZZXCOM01
//SYSIN DD *
DEST=#PHA0018
LFILE= FILE.LFILE
FILE=FILE.LFILE1
FILETYPE=FILE
FILEOPT=REPLACE
TYPE=SEND
HOLD=NO

FILE.LFILE1 will have the destination server path and file name that will be placed with the todays date. Problem here is i am not mentioning the destination path in JCL so due to this xcom is working successfully but the file is not placed in the server. So could you please help me to resolve this?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 10, 2013 2:37 am    Post subject:
Reply with quote

Hello,

We don't use XCOM. What does the documentation say about defining the target path?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 utilities, contention or failure? sheersh DB2 2 Fri Apr 21, 2017 6:18 pm
No new posts ALLOCATE REXX PDS to SYSPROC failure mambopras CLIST & REXX 4 Sat Apr 04, 2015 10:14 am
No new posts OPC/Tivoli OCL failure (line 1560) David Robinson IBM Tools 14 Mon Dec 01, 2014 7:13 am
No new posts FTINCL failure code 20 Invalid contro... Steve Coalbran TSO/ISPF 2 Mon Aug 04, 2014 10:44 am
No new posts XCOM Multiple Files shamus CA Products 2 Mon Jun 16, 2014 4:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us