この問題はまだ終わっていません
このプログラムでは、不明な問題が原因で、明らかに不明なマクロ、またはアセンブリがマクロのように見えるため、アセンブラがコードを拒否します。これを修正する方法がわかりません。
z390 Portable Mainframe Assembler and Emulator (http://www.z390.org/) を使用しています。
別のリンク: www.z390.org/z390_Documentation.htm
関連する PDF はhttp://tradingwiz.net63.net/pdf/Sessions5and6.pdfにあります。
アセンブリ マニュアルはhttp://publibz.boulder.ibm.com/epubs/pdf/asmr1020.pdfにありますが、適用できません。
更新: 「missing macro =DSORG=PS」に関するエラーを引き続き削除したいのですが、アセンブラーにベース レジスタの場所を伝える方法がわかりません (「ベース レジスタが見つかりません」)。
別の質問: これに関するリソース、特に理解しやすいリソースはありますか?
何らかの詳細情報が必要な場合は、喜んでお手伝いします。
TITLE 'CS 4321 Program #4 by J. Colt Wright'
PRINT NOGEN
COPY SUBENTRY
TITLE 'PROGRAM 4 80/80 LISTING'
PRINT NOGEN
COPY2 SUBENTRY
WTO 'PROG4 COPY PROG4 (ASCII) TO COPY (ASCII)'
OPEN (INFILE,INPUT)
OPEN (OUTFILE,OUTPUT)
WTO 'Files opened successfully'
*
LOOP EQU *
GET INFILE,IRECORD
MVC ORECORD,=CL133' '
MVC ORECORD(80),IRECORD
PUT OUTFILE,ORECORD
B LOOP
*
EOF EQU *
CLOSE (INFILE,,OUTFILE)
WTO 'PROG4 ENDED OK'
SUBEXIT
INFILE DCB DDNAME=INFILE, X
DSORG=PS, X
RECFM=FT, X
LRECL=72, X
EODAD=EOF, X
MACRF=GM X
*
OUTFILE DCB DDNAME=OUTFILE, X
DSORG=PS, X
RECFM=FT, X
LRECL=80, X
MACRF=PM
*
IRECORD DC CL72' '
ORECORD DC CL80' '
ENDPGM DS D
END COPY
20:22:31 PROG4 MZ390 START USING z390 V1.5.05 ON J2SE 1.6.0_26 10/08/11
20:22:31 PROG4 AZ390 AZ390E error 29 (1/29)211 DSORG=PS, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = DSORG=PS,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/30)212 RECFM=FT, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = RECFM=FT,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/31)213 LRECL=72, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = LRECL=72,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/32)214 EODAD=EOF, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = EODAD=EOF,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/33)215 MACRF=GM X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = MACRF=GM
20:22:31 PROG4 AZ390 AZ390E error 29 (1/36)252 DSORG=PS, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = DSORG=PS,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/37)253 RECFM=FT, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = RECFM=FT,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/38)254 LRECL=80, X
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = LRECL=80,
20:22:31 PROG4 AZ390 AZ390E error 29 (1/39)255 MACRF=PM
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = MACRF=PM
20:22:31 PROG4 AZ390 AZ390E error 29 (1/43)259 ENDPGM DS D
20:22:31 PROG4 AZ390 AZ390I ERRSUM missing macro = ENDPGM
20:22:31 PROG4 AZ390 AZ390E ERRSUM Critical Error Summary Option
20:22:31 PROG4 AZ390 AZ390E ERRSUM Fix and repeat until all nested errors resolved
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =DSORG=PS,
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =RECFM=FT,
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =LRECL=72,
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =EODAD=EOF,
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =MACRF=GM
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =LRECL=80,
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =MACRF=PM
20:22:31 PROG4 AZ390 AZ390E ERRSUM missing macro =ENDPGM
20:22:31 PROG4 AZ390 AZ390E ERRSUM total missing copy files =0
20:22:31 PROG4 AZ390 AZ390E ERRSUM total missing macro files =8
20:22:31 PROG4 AZ390 AZ390E ERRSUM total undefined symbols =0
20:22:31 PROG4 AZ390 AZ390E ERRSUM total mz390 errors = 0
20:22:31 PROG4 AZ390 AZ390E ERRSUM total az390 errors = 10
20:22:32 PROG4 AZ390 AZ390I FID= 1 ERR= 10 c:\Program Files\Automated Software Tools\z390\CS4321\PROG4.MLC
20:22:32 PROG4 MZ390 ENDED RC=12 SEC= 0 MEM(MB)= 47 IO=2420
TITLE 'CS 4321 Program #4 by J. Colt Wright'
PRINT NOGEN
COPY SUBENTRY
TITLE 'PROGRAM 4 80/80 LISTING'
PRINT NOGEN
COPY2 SUBENTRY
WTO 'PROG4 COPY PROG4 (ASCII) TO COPY (ASCII)'
OPEN (INFILE,INPUT)
OPEN (OUTFILE,OUTPUT)
WTO 'Files opened successfully'
*
LOOP EQU *
GET INFILE,IRECORD
MVC ORECORD,=CL133' '
MVC ORECORD(80),IRECORD
PUT OUTFILE,ORECORD
B LOOP
*
EOF EQU *
CLOSE (INFILE,,OUTFILE)
WTO 'PROG4 ENDED OK'
SUBEXIT
SUBEXIT
INFILE DCB DDNAME=INFILE, X
DSORG=PS, X
RECFM=FT, X
LRECL=72, X
EODAD=EOF, X
MACRF=GM
*
OUTFILE DCB DDNAME=OUTFILE,
DSORG=PS, X
RECFM=FT, X
LRECL=80, X
MACRF=PM
*
IRECORD DC CL72' '
ORECORD DC CL80' '
ENDPGM DS D
END COPY
08:39:00 PROG4 MZ390 START USING z390 V1.5.05 ON J2SE 1.6.0_26 10/09/11
08:39:00 PROG4 AZ390 AZ390E error 144 (1/15)141 MVC ORECORD,=CL133' '
08:39:00 PROG4 AZ390 AZ390I no base register found
08:39:00 PROG4 AZ390 AZ390E error 29 (1/39)258 DSORG=PS, RECFM=FT, LRECL=80, MACRF=PM
08:39:00 PROG4 AZ390 AZ390I ERRSUM missing macro = DSORG=PS,
08:39:00 PROG4 AZ390 AZ390E ERRSUM Critical Error Summary Option
08:39:00 PROG4 AZ390 AZ390E ERRSUM Fix and repeat until all nested errors resolved
08:39:00 PROG4 AZ390 AZ390E ERRSUM missing macro =DSORG=PS,
08:39:00 PROG4 AZ390 AZ390E ERRSUM total missing copy files =0
08:39:00 PROG4 AZ390 AZ390E ERRSUM total missing macro files =1
08:39:00 PROG4 AZ390 AZ390E ERRSUM total undefined symbols =0
08:39:00 PROG4 AZ390 AZ390E ERRSUM total mz390 errors = 0
08:39:00 PROG4 AZ390 AZ390E ERRSUM total az390 errors = 2
08:39:01 PROG4 AZ390 AZ390I FID= 1 ERR= 2 c:\Program Files\Automated Software Tools\z390\CS4321\PROG4.MLC
08:39:01 PROG4 MZ390 ENDED RC=12 SEC= 0 MEM(MB)= 47 IO=2374