I am new to db2/400. I am trying to understand everything about creating physical files. I am looking at table creation for now. Can someone provide some experience to the following questions. For now, I am learning via the traditional methods.
1) I can create a table within STRSQL as such: "create table xxx (name varchar(20))". The message returns states that the table was created but could not be journalized. Why can it not be journalized and should I care if it is not?
2) I attempt to create a table TEST3 as such: "CRTPF FILE(TEST3)". It does not create the file and the following message is returned. "Member TEST3 in QDDSSRC in library *LIBL not found". What does this mean? I thought I was using the crtpf command to create files?
3) Finally, I tried creating a file on my PC and FTPing it to the 400 machine. The contents of the file state the following: "create table xxx (name varchar(20))". I FTPed using ASCII. I then tried to use RUNSQLSTM against the file, as such RUNSQLSTM SRCFILE(*CURLIB/TEST2) SRCMBR(TEST2). This errored out as well. The message stated RUNSQLSTM command failed.
Additionally, I noticed when I FTPed my file to the 400 machine, it did not receive a size or date stamp from the system. It also created a second file TEST2.TEST2 for the one file I FTPed over, TEST2. Why is that? TEST2.TEST2 does not show up in the WORK WITH FILES list?
1) I can create a table within STRSQL as such: "create table xxx (name varchar(20))". The message returns states that the table was created but could not be journalized. Why can it not be journalized and should I care if it is not?
2) I attempt to create a table TEST3 as such: "CRTPF FILE(TEST3)". It does not create the file and the following message is returned. "Member TEST3 in QDDSSRC in library *LIBL not found". What does this mean? I thought I was using the crtpf command to create files?
3) Finally, I tried creating a file on my PC and FTPing it to the 400 machine. The contents of the file state the following: "create table xxx (name varchar(20))". I FTPed using ASCII. I then tried to use RUNSQLSTM against the file, as such RUNSQLSTM SRCFILE(*CURLIB/TEST2) SRCMBR(TEST2). This errored out as well. The message stated RUNSQLSTM command failed.
Additionally, I noticed when I FTPed my file to the 400 machine, it did not receive a size or date stamp from the system. It also created a second file TEST2.TEST2 for the one file I FTPed over, TEST2. Why is that? TEST2.TEST2 does not show up in the WORK WITH FILES list?