[NEWSboard IBMi Forum]

Hybrid View

  1. #1
    Registriert seit
    Oct 2003
    Beiträge
    33
    Hallo TARASIK,

    das bedeutet das Format dieser Datei ist binär. Kann ich dieses File dann auf der AS konvertieren? Sorry, aber irgendwie stehe ich gerade aufm Schlauch.

    Gruß
    tomikra

  2. #2
    Registriert seit
    May 2002
    Beiträge
    2.643

    Unicode

    Hallo,
    die Datei ist im Unicode erstellt.

    Vielleicht kannst Du diesen Tip aus der Midrange einmal
    ausprobieren um diese Datei lesbar zu machen:

    CPY OBJ('/somedir/somefile.txt') +
    TOOBJ('/qsys.lib/somelib.lib/hexifs.usrspc') +
    TOCODEPAGE(*CALC) DTAFMT(*TEXT)

    DMPOBJ DMPOBJ OBJ(somelib/hexifs) +
    OBJTYPE(*USRSPC)

    Experiment with the codepage and data format parameters of the Copy (CPY) command to give needed conversions.
    There are a couple of other details of which you should be aware:
    CPY fails if the user space already exists.
    Using CPY to copy from a streamfile to a user space requires *AUDIT special authority.

Similar Threads

  1. SNDDST Parameter für Dateianhänge
    By Luebbert in forum IBM i Hauptforum
    Antworten: 4
    Letzter Beitrag: 23-11-06, 13:22
  2. SQL Befehl?
    By mikex01 in forum IBM i Hauptforum
    Antworten: 9
    Letzter Beitrag: 01-06-06, 11:55
  3. Fehler im CPY Befehl
    By NEich in forum IBM i Hauptforum
    Antworten: 5
    Letzter Beitrag: 10-05-06, 08:42
  4. Befehl sav
    By tomikra in forum IBM i Hauptforum
    Antworten: 4
    Letzter Beitrag: 12-10-04, 13:43
  5. output parameter in save (files shared)
    By Marlin in forum IBM i Hauptforum
    Antworten: 2
    Letzter Beitrag: 12-08-04, 09:16

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •