NDM process say success but file didn't reach destination


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting NDM process say success but file didn't reach destination
# 1  
Old 07-13-2011
NDM process say success but file didn't reach destination

I am using ndmcli to NDM my files. When i do so it prints success for the process, with out any errors, but file is not reached at destination.
Code:
ndmcli -x << EOJ
submit phcdb process snode=$RMT_NODE_NAME
step01 copy from (file=$SRC_FILE_NAME pnode)
to (file=$DST_FILE_NAME
snode
DISP=(NEW,CATLG,DELETE) 
Unit=DISK
DCB=(RECFM=FB,LRECL=${BUFFER_SIZE},BLKSIZE=0)
)
if (step01 = 0) then 
step02 RUN TASK (PGM=CSYUEV3) 
snode 
SYSOPTS="'ANSASRTS Y'" 
eif 
pend ;
EOJ

Is there any way to test in UNIX that files recieved?, instead checking the files manually in the folder.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Executing a job with file success

Hello All, I have a scenario where I need suggestion I am creating a file watcher job on autosys and and command job to do a SCP a file from one server to another. My file watcher will get success once the file get receive. The file I am receiving a zip file. THe command job which I am... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies

2. UNIX for Dummies Questions & Answers

After Ftp'ing file to destination how to check the file if it is in correct ASCII and not corrupted

Hi Folks, While transferring file from FTP software like Filezilla the files gets corrupted. Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
6 Replies

3. Shell Programming and Scripting

Error files count while coping files from source to destination locaton as well count success full

hi All, Any one answer my requirement. I have source location src_dir="/home/oracle/arun/IRMS-CM" My Target location dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct" my source text files check with below example.text file content $fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Discussion started by: sravanreddy
3 Replies

4. Shell Programming and Scripting

Logging success event into file

Hi, I've the following code to log the errors any after the command is executed. # Ksh 88 Version log_path=/home/etc/fls/fls_log.log del_path=/home/etc/fls/to_day rm $del_path/* >> $log_path 2>&1 But I even want to log if the rm command is success without any error along with... (1 Reply)
Discussion started by: smile689
1 Replies

5. Shell Programming and Scripting

Is there any option to verify size at destination end after NDM?

Hi, I am using ndmcli to send files from one solaris server to another one. I use the below one in script and verify the status. select stat det=yes pnum="$PNUM" Is there any option to automate in script in verifying destination size with source after doing NDM? :mad: (10 Replies)
Discussion started by: gthangav
10 Replies

6. UNIX for Dummies Questions & Answers

NDM: Source file open failed. Error= 2

Hi, I have try to ndm to one server to another server. but i am getting this error. what is this error? are files not in source folder? Source file open failed. Error= 2 Regards, Balamurgan (1 Reply)
Discussion started by: krbala1985
1 Replies

7. UNIX for Advanced & Expert Users

NDM File transfer - doubt...?

Hi, I have configured NDM (Connect: Direct) to copy a bunch of files from one server to another. I create a master file contains the list of files which need to copied, and my shell script read the file and send the file one by one thru NDM. The problem is, since the files are very big in size... (0 Replies)
Discussion started by: r_sethu
0 Replies

8. Shell Programming and Scripting

How to NDM a file in unix

.................................. Network data mover is a secure mechanism to transfer data . can any body guide me out .... how it is done (1 Reply)
Discussion started by: anumkoshy
1 Replies

9. Shell Programming and Scripting

how to exit with success if the file is not found

I want to put a exit if there is no file found. In the directory I can have multiple txt files with EPISGCHGS as prefix or maynot have one. When I am trying the following it is erroring if there is no text file with the EPISGCHGS as prefix. for file in EPISGCHGS*.txt do cat $file >... (2 Replies)
Discussion started by: apps_user
2 Replies

10. UNIX for Dummies Questions & Answers

How to reach to the end of the file?

What is the command, which takes cursor to the end of file which is opened within vi editor? (4 Replies)
Discussion started by: videsh77
4 Replies
Login or Register to Ask a Question
qstart(8B)								PBS								qstart(8B)

NAME
qstart - start pbs batch job processing at a destination SYNOPSIS
qstart destination ... DESCRIPTION
The qstart command directs that a destination should process batch jobs. If the destination is an execution queue, the server will begin to schedule jobs that reside in the queue for execution. If the destination is a routing queue, the server will begin to route jobs from that queue. In order to execute qstart, the user must have PBS Operation or Manager privilege. OPERANDS
The qstart command accepts one or more destination operands. The operands are one of three forms: queue @server queue@server If queue is specified, the request is to start that queue at the default server. If the @server form is given, the request is to start all queues at that server. If a full destination identifier, queue@server, is given, the request is to start the named queue at the named server. STANDARD ERROR
The qstart command will write a diagnostic message to standard error for each error occurrence. EXIT STATUS
Upon successful processing of all the operands presented to the qstart command, the exit status will be a value of zero. If the qstart command fails to process any operand, the command exits with a value greater than zero. SEE ALSO
pbs_server(8B), qstop(8B), and qmgr(1B) Local qstart(8B)