Rename the uploaded file….
55 pts.
0
Q:
Rename the uploaded file....
hi all


i want to rename the just uploaded file to a PC from AS400.
Like what happening is that i have used some commands to upload a PF to a .txt file to a PC that are written in CLLE. now i just want to rename the file name with a longer name that is not supported in that CLLE commands.....

How can i rename with a file name as of length 30 - 40 characterss??
ASKED: Jun 11 2008  6:30 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23625 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button

Hi,

You can probably use the QSHELL environment for this. How did you transfer your file to the PC? Maybe you can use one of the commands that you used to transfer the file to rename it during the transfer.

Regards,

Martin Gilbert.
Last Answered: Jun 11 2008  9:51 AM GMT by Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

TomLiotta   7410 pts.  |   Oct 17 2009  5:19AM GMT

…a longer name that is not supported in that CLLE commands…..

What command are you trying to use? Commands to rename a .TXT file can handle names much longer than “30 - 40 characters”:

RNM OBJ(’/qntc/PCserver/sharename/P.txt’) NEWOBJ(QRenamedPCFileWithNameThatIsVeryVeryVeryLongForA CLProgramExample.txt)

Tom

 
0