PDA

View Full Version : QDLS soll durch IFS ersetzt werden



ubas
09-08-07, 14:02
Hallo zusammen,

habe folgendes Problem:
Wir erstellen bislang ASCII-Dateien durch CPYTOPCD im QDLS. Durch die Verwendung von iASP sind wir gezwungen diese Dateien in ein IFS-Verzeichnis zu stellen. Habe mich hier mit dem Befehl CPYTOSTMF abgeqäult. Bekomme immer einen nichtssagenden Fehler der da lautet:

Nachrichten-ID . . . . : MCH3601 Bewertung . . . . . . : 40
Nachrichtenart . . . . : Diagnose
Sendedatum . . . . . . : 09.08.07 Sendezeit . . . . . . : 15:00:24

Nachricht . . . : Zeiger für angegebene Position nicht gesetzt.
Ursache . . . . : Es wurde ein Zeiger, entweder direkt oder als ein
Basiszeiger verwendet, für den keine Adresse festgelegt worden war.



Fehler im Programm QP0LCDTS.

Befehl lautete:

CPYTOSTMF FROMMBR('/QSYS.LIB/SPEDDTA.LIB/FREIVP.FILE') TOSTMF('/QOPENSYS/WOWI/TEST') STMFOPT(*ADD) CVTDTA(*AUTO) STMFCODPAG(*PCASCII)


Oder gibt es besser Möglichkeiten?
Dank im voraus an alle.

Fuerchau
09-08-07, 15:07
1. Versuche das IFS "/Home" an Stelle von QOpenSys.
2. Eine Datei hat noch ein Member:
'/QSYS.LIB/SPEDDTA.LIB/FREIVP.FILE/FREIVP.MBR'

Andreas Herzfeldt
13-08-07, 11:56
Mir fällt auf, daß Du den .MBR der Datei FREIVP nicht beim kopieren verwendest, versuch doch mal /QSYS.LIB/SPEDDTA.LIB/FREIVP.FILE/FREIVP.MBR ( vorausgesetzt die Teildatei heißt so ! ).Andreas

Dominik Meyer
27-08-07, 16:20
Hallo,

wir hatten nach iASP Umstellung den gleichen Ärger. Lt. IBM muss das IFS im iASP anders angesprochen werden:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/ifs/rzaaxiasppath.htm
Path names in the independent ASP QSYS.LIB file system
Each component of the path name must contain the object name followed by the object type of the object.

<DIR><DIR>For example:

</DIR></DIR>/asp_name/QSYS.LIB/QGPL.LIB/PRT1.OUTQ

/asp_name/QSYS.LIB/EMP.LIB/PAY.FILE/TAX.MBR
where asp_name is the name of the independent ASP. The object name and object type are separated by a period (.). Objects in a library can have the same name if they are different object types, so the object type must be specified to uniquely identify the object.

<DIR><DIR>The object name in each component can be up to 10 characters long, and the object type can be up to 6 characters long.
The directory hierarchy within independent ASP QSYS.LIB can be either two or three levels deep (two or three components in the path name), depending on the type of object being accessed. If the object is a database file, the hierarchy can contain three levels (library, file, member); otherwise, there can be only two levels (library, object). The combination of the length of each component name and the number of directory levels determines the maximum length of the path name.

</DIR></DIR>If /, asp_name, and QSYS.LIB are included as the first three levels, the directory hierarchy for the Independent ASP QSYS.LIB file system can be up to six levels deep.

<DIR><DIR>The characters in names are converted to CCSID 37 when the names are stored. Quoted names, however, are stored using the CCSID of the job.

</DIR></DIR>For more information about CCSID, see the i5/OS™ globalization topic in the iSeries™ Information Center.


asp_name ist wahrscheinlich bei dir einfach der DEVICE Name ( IASP33 oder so)

HtH
Dominik