Johann 'Myrkraverk' Oskarsson
2019-10-25 04:28:57 UTC
Dear c.s.i.a.misc,
I am using the public access system, pub400.com.
How do I go about compiling a C program. I believe I've entered it
correctly in myrkravrk1/qcsrc, member named hello. See below.
Then I believe I should be able to compile with
crtcmod module(myrkravrk1/hello) srcfile(myrkravrk1/qcsrc)
but all I get is the message
Module HELLO is not created because statement errors occurred.
and I don't know what that means. Is this an error in my command line,
or a compilation error?
I am very new to System I, or AS/400. And I'm just starting to get the
various concepts of libraries, files, and members. A screenshot follows
with truncated columns.
Columns . . . : 1 80 Edit MYRKRAVRK1/QCSRC
SEU==> HELLO
FMT ** ...+... 1 <snip> ...+... 8
*************** Beginning of data ********
001.00 #include <stdio.h> 191025
002.00 void main( void ) 191025
003.00 { 191025
004.00 printf( "Hello, world\n" ); 191025
005.00 } 191025
****************** End of data **********
Am I correctly referring the source file on my command line?
I am using the public access system, pub400.com.
How do I go about compiling a C program. I believe I've entered it
correctly in myrkravrk1/qcsrc, member named hello. See below.
Then I believe I should be able to compile with
crtcmod module(myrkravrk1/hello) srcfile(myrkravrk1/qcsrc)
but all I get is the message
Module HELLO is not created because statement errors occurred.
and I don't know what that means. Is this an error in my command line,
or a compilation error?
I am very new to System I, or AS/400. And I'm just starting to get the
various concepts of libraries, files, and members. A screenshot follows
with truncated columns.
Columns . . . : 1 80 Edit MYRKRAVRK1/QCSRC
SEU==> HELLO
FMT ** ...+... 1 <snip> ...+... 8
*************** Beginning of data ********
001.00 #include <stdio.h> 191025
002.00 void main( void ) 191025
003.00 { 191025
004.00 printf( "Hello, world\n" ); 191025
005.00 } 191025
****************** End of data **********
Am I correctly referring the source file on my command line?
--
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk