IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

XCOM Failure


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Apr 10, 2013 2:37 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts how to solve this power failure shutd... ABENDS & Debugging 5
No new posts IMS Restart Failure IMS DB/DC 4
No new posts Auto ticketing of a job failure ABENDS & Debugging 1
No new posts Failure after DIR command All Other Mainframe Topics 2
No new posts DB2 utilities, contention or failure? DB2 2
Search our Forums:

Back to Top