Rename the uploaded file….

55 pts.
Tags:
AS/400
CL
CLLE
RPGLE
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: June 11, 2008  6:30 AM
UPDATED: October 17, 2009  5:19 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ...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
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following