Display all files which have size more 3KB in given directory/folder.

Answer Posted / nish

Since it is posted under Datastage; I'm assuming it has something to do with Unix/Linux.

to solve your problem we make use of the 'find' command and its specifications

find /mydir -size +6 -print

1block =512B
3kb =6 Blocks
-size +6 will list files that are greater than 3kb
-print will print them out
/mydir is your folder

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is datastage engine?

970


I have a few records just I want to store data in to targets cycling way how?

2160


What are the stages in datastage?

858


What could be a data source system?

789


Can you define merge?

897


how to implement scd2 in datastage 7.5 with lookup stage

5417


What are the steps required to kill the job in Datastage?

973


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

2179


What is difference between server jobs & parallel jobs?

836


What is data partitioning?

951


What is the roundrobin collector?

883


Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

3064


What is the purpose of interprocessor stage in server jobs?

1988


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

2022


How you can fix the truncated data error in datastage?

1464