1
  • COPYTOPCD Command

    I'm copying the File from my AS/400 system to PC using command COPYTOPCD. But after copying all the numeric fields are containing zunk characters. Anybody know what can be the issue?

    Deepakas40015 pointsBadges:
  • How to use CPYTOPCD on large files

    I have a file of over 3 gig. CPYTOPCD gives me an error message "Receiver value too small to hold result". Smaller files do work, any way to use CPYTOPCD on large files? Example: CPYTOPCD FROMFILE(BILLINGLIB/BILLN5) TOFLR(BILLS) + TODOC(&EXPDAT) REPLACE(*YES)

    Bum78bum780 pointsBadges:
  • CPYTOPCD creates wild character

    I have problem in CPYTOPCD command; I have one PF and one flat file.My RPG1 program dumps data first in PF then RPG2 program dump data with (~) saprater in Flat file. Then my CL program dump data from flat file to QDLS folder in TXT format. When I open the TXT folder in last row I see some wild...

    Nelson01250 pointsBadges:
  • Stop CPYTOPCD from creating additional record

    The CPYTOPCD command which copies iSeries files to the shared folders in QDLS puts an addtional record at the end of the PC document which I can only assume is the end-of-file delimiter. Is there any way to stop this record from being created?

    Luisreyes15 pointsBadges:
  • How to send a large PC doc from AS/400

    I can successfully copy data from a PF to a PC doc (via CPYTOPCD) and I can successfully e-mail the resultant PC DOC from the AS400 (via SNDDST) However, when I try to e-mail a large PC Doc (2 meg) I receive about 20 e-mails with *.DTF attachments, which are virtually unreadable. Any ideas?

    Riccardi0 pointsBadges:
  • AS/400 CPYTOPCD

    I am using CPYTOPCD in AS/400 cl to copy an invoice spool file to a PC document. I then email the document to myself (as a test). My goal is to be able to email invoices, instead of printing them. I am using format PC data as *text. When I open my emailed document, the spaces have been randomly...

    DebOsborn5 pointsBadges:
  • QDLS size-we are trying to do CPYTOPCD of a file to an IFS folder

    we are trying to do CPYTOPCD of a file to an IFS folder (in our client system). The command fails when the file has more than 20 lakh records (around 235 MD). We want to find out if this is because of any size limit set on the IFS folder. Could you please let us know if it is possible to have a...

    Srinivas naikk115 pointsBadges:
  • Command to copy database file to folder in AS/400?

    AS400

    Srikanth75 pointsBadges:
  • CPYTOPCD as an XLS

    I am using CPYTOPCD and emailing the resulting *.csv and *.txt files successfully. However, I am now trying to send the data as an XLS. Although the file is sent, the data does not appear in the different cells as I would expect, the whole string (although comma delimited) appears a whole string...

    Ricca100 pointsBadges:
  • How use CPYTOPCD to record 240 long

    I have tried to create a file where every record is 240 characters long. Every record should be filled with spaces if the record is shorter than 240 char. In my program I use CPYTOPCD option TRNFMT(*NOTEXT) but the record is cut on 132 characters.Please, anybody could help me to solve this?

    Xaviers5 pointsBadges:
  • RPGLE. cpytopcd

    I have tried to create a file where every record is 80 characters long. Every record should be filled with spaces if the record is shorter than 80 char. In my program I use cpytopcd and this command seems to cut every record if there aren't any more characters. If you look at it in hexadec...

    Kasten15 pointsBadges:
  • CPYTOPCD gettig an error in CL

    Hello, This is my command in CL CPYTOPCD FROMFILE(QS36F/&SVPF) + TOFLR('c:\testfolder\text.txt') + TODOC(&SVPF) REPLACE(*YES) I get an error at run time. Error message as follows: 13308 - CPYTOPCD FROMF QCA ILE(QS36F/Y15162612) TO FLR('c:\testfolder\text .txt') TODOC('Y15162612 ') REPLACE(*YES)...

    Lenny2113115 pointsBadges:
  • File transfer between AS400 and Windows Vista without a shared drive

    I'm told by my tech guys that we cannot map a shared drive in Vista. In order to transfer files to and from the AS400 I use the cpytopcd and cpyfrmpcd commands to a shared drive. Any suggestions in regard to transferring files to and from an AS400 to a PC utilizing Windows Vista would be greatly...

    RPGILer25 pointsBadges:
  • As/400 Job number ..Two part question

    Hi all, We are in the process of implementing online paystubs for employees to view. Here are the steps that I am trying to automate from the IT side of the house. 1) Clrpfm 2) cpysplf 3) cpytopcd So far..number to is the issue due to not knowing what the job number will be in advance. I have...

    Rmason345 pointsBadges:
  • Keeping the £ sign when using CPYTOPCD

    When I use CPYTOPCD to copy a file with £'s they get translated into $'s. How do I keep them as £'s?

    Gingertosser10 pointsBadges:
  • EOF marker in text file from AS400 to PC

    I'm a programmer/analyst using an AS400. We create multiple files daily on our AS400, copy them to PC documents using CPYTOPCD with TRNFMT = *TEXT, then upload them to other data processors. This works very well with most data processors but a few require that there be no EOF marker at the end of...

    RPGILer25 pointsBadges:
1

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