Results 1 to 5 of 5

Thread: B34A1030 move a file in AS400... what is the AS400 commend line?

  1. #1

    B34A1030 move a file in AS400... what is the AS400 commend line?

    Hi .. hope an AS400 and JDE expert can help me. new in AS400 and JDE

    I need to copy a file into archive directory then delete the original file
    I was plan to use B4700230 but according to Doc id 636244.1, there could be huge performance issue to use BF B4700230 to copy. It recommend to use B34A1030 (Call external program ) to copy/delete or move the file.

    Since I am new in AS400, what is the AS400 commend to be use in B34A1030

    1) copy file from one directory to other ( e.g. copy /server/dir1/abc.txt to /server/dir2/abc_archive.txt )
    2) delete the original file ( eg. delete /server/dir1/abc.txt )


  2. #2
    Join Date
    Mar 2002
    Minneapolis, MN
    Look into QNTC setup on your iSeries. Using it, you can access any windows server with the following path notation: /QNTC/<servername>/<folder>/.../<folder>/<filename>

    QNTC services are probably already running.

    One caveat: Your E1 system user accounts must have a matching account (user and password) on your windows domain.
    E1 Consultant
    Minneapolis, MN

  3. #3
    Have you tried using the business function B0500180 for file copy and delete functions . May be that could help

  4. #4
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Cork, Ireland

    It's a CL command
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR Unix

  5. #5
    You can create your own business function and use the jde API function jdeRename.

    jdeRename((const JCHAR *) szFromLocation, (const JCHAR *) szToLocation);

    The from and to location should both be fully qualified file names.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.