Hi Peter,
I have modified the code and able to get the desired result. however request you to check and let me know if it is fine to proceed ?
:set &file1# = 'c:\test22.txt'
:set &hnd1#=prep_process_file("DEMO5_WINDOWS_PS","&file1#")
:process &hnd1#
: set &line1#=get_process_line(&hnd1#)
: SET &Append1# = WRITE_PROCESS(&hnd1#,"C:\test23.txt",DEMO5_WINDOWS_PS, LOGIN.ALL,APPEND)
: set &Append1# = UC_CRLF
:endprocess
:set &file2# = 'c:\test23.txt'
:set &hnd2#=prep_process_file("DEMO5_WINDOWS_PS","&file2#")
:process &hnd2#
: set &line2#=get_process_line(&hnd2#)
: print &line2#
:endprocess
: print "File is Appended successfully"
Thanks
Srikanth