Hello, My Dataset which is a .csv file (Comma Seperated): Header: ID,"Folder Path","File Name","Log Time",Action,"Login Name",IPAddress,"Transfer Size",Duration Row1:1344624,"/Distribution/Projects/WUXI-EDO/Input","C12345_xxx_wxp_img_20221013_114200_349.cum",,"file_download",mft2sftp,"172.24.147.36",46438, Row2:13445945,"/Distribution/Projects/WUXI-EDO/Input","C12345_xxx_wxp_img_20221013_114200_349.cum",,"file_upload",hud8,"204.134.192.105",46438, Row3:13442235,"/Distribution/Projects/WUXI-EDO/Input","C12345_xxx_npn_img_20221014_113344_600.cum",,"file_upload",kp123,"204.134.192.105",46438, Basically, I want to flag any File Name upload which does not have a corresponding download. In the above example, The expected output is ROW 3 since it does not contain a "file_download" row My code: data alldata_status_1; set alldata; do; if File_Name^= ' ' ; if action in ('file_upload','file_download') then download_flag = 'yes'; else download_flag = 'no'; end; run; I am using Download_flag since It will help me subset the datasets. Thank you for your help.
... View more