Below is the script I am using (in a offline mode). I have all the source filse in the 'ws_object' folder correctly and I can see it IDE too. But when I close the IDE and run the following script the PBL gets corrupted and not objects are imported into the PBLs. I checked the .PBG file and it is in sysn with what is under 'ws_objects' folder. Any help is greatly appropriated. (FYI..The code has been migrated to PB-19 from PB11)
scc set connect property logfile ".\bin\svnorca.log"
scc set connect property logappend false
scc connect offline
scc set target ".\ardd.pbt" "refresh_all importonly"
scc refresh target migrate
;scc refresh target incremental
scc refresh target "3pass"
build library ".\logon.pbl" "" pbd
build library ".\lnlsman.pbl" "" pbd
file copy ".\lnlsman.pbd" ".\bin\lnlsman.pbd"
file delete ".\lnlsman.pbd"