We're trying to migrate our application from Mainframe to AS400. We have sent our COBOL program to AS400 and compiled it in AS400 successfully after a lot of struggle as none of my team mates have experience in AS400. We're now stuck with running the COBOL program. The sample CL programs that we have checked and the stuff over internet didn't do any good.
So, Can somebody provide a sample program for running a COBOL program in AS400? The COBOL program has two input files and one output file. The input files are present in the AS400 library. And, how to create an indexed file(like KSDS VSAMs in Mainframe)? A brief explanation about the commands would be a lot better.