For 304 ,316 or 316L to be magnetic they must be excessively cold worked (I presume you are not talking about welds joining pieces of pipe) Therefore you have good reason to suspect that they are not these materials. However, depending on what they are you might even be better off (e.g., if they are duplex SS like 2304 or 2205). So, it would be wise to take some filings and get chemistry or to use a field analyzer, although this test will not tell you the C content.