Hi Folks
I would like your help with the logic behind the replace option of dsmc retrieve.
When we issue the command
"dsmc retrieve -servername=$ADSMservername $PRESERVEPATH_OPT -replace=All -subdir=y -desc="$DD" "$DM_H" $RD"
we get the earliest file stored as in
5,906,120 B 10/04/07 11:01:25 /cls/audit/capture/20071003_prd25slp/pkgsicigt/FLSICIGTPLOG.DEL 10/05/20 20071003
whereas we actually want
7,855,853 B 10/04/07 14:52:46 /cls/audit/capture/20071003_prd25slp/pkgsicigt/FLSICIGTPLOG.DEL 10/05/20 20071003
Changing the command to
" dsmc retrieve -servername=$ADSMservername $PRESERVEPATH_OPT -replace=No -subdir=y -desc="$DD" "$DM_H" $RD"
seems to work but my my question is why does dsmc, when using the -replace=All flag retrieve the lastest file then overwrite it with an earlier file all in one call of the dsmc command. Is this how it should work?
Best regards
I would like your help with the logic behind the replace option of dsmc retrieve.
When we issue the command
"dsmc retrieve -servername=$ADSMservername $PRESERVEPATH_OPT -replace=All -subdir=y -desc="$DD" "$DM_H" $RD"
we get the earliest file stored as in
5,906,120 B 10/04/07 11:01:25 /cls/audit/capture/20071003_prd25slp/pkgsicigt/FLSICIGTPLOG.DEL 10/05/20 20071003
whereas we actually want
7,855,853 B 10/04/07 14:52:46 /cls/audit/capture/20071003_prd25slp/pkgsicigt/FLSICIGTPLOG.DEL 10/05/20 20071003
Changing the command to
" dsmc retrieve -servername=$ADSMservername $PRESERVEPATH_OPT -replace=No -subdir=y -desc="$DD" "$DM_H" $RD"
seems to work but my my question is why does dsmc, when using the -replace=All flag retrieve the lastest file then overwrite it with an earlier file all in one call of the dsmc command. Is this how it should work?
Best regards