three topics on the same issue...
and You ask us to be polite!to prove Your incompetence I just download the z390 assembler
fixed the setup for my environment
cut and pasted Your fucked up program and ...
first run ... the messages received where completely different from Yours
just tested after having fixed Your errors
and worked nicely
here is the fixed source working
TITLE 'PROGRAM 4 80/80 LISTING'
PRINT NOGEN
COPY SUBENTRY
WTO 'PROG4 COPY INFILE (ASCII) TO OUTFILE (ASCII)'
OPEN (INFILE,INPUT)
OPEN (DATAIN,INPUT)
OPEN (OUTFILE,OUTPUT)
OPEN (SUMMARY,OUTPUT)
WTO 'Files opened successfully'
*
LOOP EQU *
GET INFILE,IRECORD
MVC ORECORD,=CL133' '
MVC ORECORD(80),IRECORD
PUT OUTFILE,ORECORD
B LOOP
READLOOP DS 0H
GET DATAIN,INREC
ZAP TOTAL,=P'0'
PACK WORK8,NUM1
AP TOTAL,WORK8
PACK WORK8,NUM2
AP TOTAL,WORK8
PACK WORK8,NUM3
AP TOTAL,WORK8
MP TOTAL,=P'100'
DP TOTAL,=P'3'
MVC OUTID,INID
UNPK AVERAGE,TOTAL(5)
PUT SUMMARY,OUTREC
B READLOOP
WORK8 DS D
TOTAL DS PL6
INREC DS CL80
INID EQU INREC,5
NUM1 EQU INREC+6,5
NUM2 EQU INREC+12,5
NUM3 EQU INREC+18,5
OUTREC DS CL13
OUTID EQU OUTREC,5
AVERAGE EQU OUTREC+6,7
*
EOF EQU *
CLOSE (INFILE,,OUTFILE)
WTO 'PROG4 ENDED OK'
SUBEXIT
ENDDATA DS 0H
CLOSE (DATAIN,,SUMMARY)
SUBEXIT
DATAIN DCB DDNAME=INPUT, X
DSORG=PS, X
EODAD=ENDDATA, X
LRECL=80, X
RECFM=FB, X
MACRF=GM
INFILE DCB DDNAME=INFILE, X
DSORG=PS, X
RECFM=FB, X
LRECL=80, X
EODAD=EOF, X
MACRF=GM
*
OUTFILE DCB DDNAME=OUTFILE, X
DSORG=PS, X
RECFM=FB, X
LRECL=133, X
MACRF=PM
*
SUMMARY DCB DDNAME=OUTPUT, X
BLKSIZE=130, X
LRECL=13, X
DSORG=PS, X
RECFM=FB, X
MACRF=PM
IRECORD DC CL80' '
ORECORD DC CL133' '
END COPY
z390 programs obey the same rules IBM Hlasm programs do
all You might want to know avbout IBM hlasm is available here
http://publibz.boulder.ibm.com/cgi-bin/ ... s/ASMSH030since You seem unable to ...
read the z390 docs, search and read the IBM manuals, setup properly Your environment , provide proper info ... add as many as You want
the best advice You can get is ...
look for a job less demanding for Your brain cells
and when I tried to run it I got ( obviously - since I did not care to allocate the datasets needed )
13:18:53 mftest EZ390 START USING z390 V1.5.05 ON J2SE 1.6.0_26 10/31/11
PROG4 COPY INFILE (ASCII) TO OUTFILE (ASCII)
EZ390E error 43 I/O error for DCB=000FFD60 DDNAME=INFILE FILE=
EZ390E error 23 i/o error on open - java.io.FileNotFoundException: (No such file or directory)
......
EZ390E error 11 ABEND PSW=07050600 800FFB60 0A13 SVC ABEND S013
R0-R3 F4F4F4F400000040 F4F4F4F4000FFD60 F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4
R4-R7 F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4
R8-RB F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4 F4F4F4F4F4F4F4F4
RC-RF F4F4F4F4F4F4F4F4 F4F4F4F4800FFAB8 F4F4F4F400002018 F4F4F4F400000000
EZ390E error 12 program aborting due to abend S013
13:18:53 mftest EZ390 ENDED RC=16 SEC= 0 MEM(MB)= 14 IO=46 INS=10
and as described here
http://publibz.boulder.ibm.com/cgi-bin/ ... 0124095350the meaning of a S013 abend code is ( guess what )
013
Explanation: The error occurred during processing of an OPEN macro instruction. This system completion code is accompanied by message IEC141I. Refer to the explanation of message IEC141I for complete information about the task that was ended and for an explanation of the return code in register 15 (which is provided in the IEC141I message text).
Application Programmer Response: Respond as indicated for message IEC141I.
System Programmer Response: If the error recurs and the program is not in error, look at the messages in the job log for more information. Search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the JCL and the program listing for the job.
Source: DFSMSdfp