I am using IBM z/OS390 and I am using the OMVS shell. I don't have "vi" installed at all so I use "oedit". If I try to initialize the app.jar straigh from OMVS shell it Works perfectly. I mean, if I reach the java directory and start the app from there with the two commands below, it Works 100%.
cd /WebSphere/was85/mycel/mynode/AppServer/java_1.7_64/bin ./java -cp /usr/my.jar com/com.my_comapny_witt_entire_name/myMain
I created a script file via OEDIT and added both lines. The second was broke in two lines. Unfortunatelly I am getting this error obviously because while running, the second command line has been treated as diferente two lines.
$ ./script_boot_app Error: Could not find or load main class com.my_comapny_witt_entire_name. /myMain: ./script_boot_app 3: FSUM7351 not found
Probably if the path and java package names were smaller enough to fit in one line it wouldn't happen. So my question is: how can I use OEDIT and guarante that multiple lines will be treated as just one line exactly as I did when executing the command straight from shell? When typing straigh in OMVS shell and the end of line is reached, naturaly I continue in the below line and it is executed as a single command line. How can I do the same inside of a script created in OEDIT tool?