+

Search Tips | Advanced Search

Common MFT problems with JZOS

Here are some suggestions if you encounter problems with JZOS.

  • If the JZOS fails to process successfully:

    • Add, PARM='+T' to the JCL. For example:
      //MQMFT EXEC PGM=JVMLDM86,REGION=0M,PARM='+T' 
    • Add set -x to the environment file

  • If you get:

    • JVMJZBL1038E Child shell process exited with exit code: 1
    • JVMJZBL1042E JZOS batch launcher failed, return code=102

    This means there was something wrong with the environment file and Managed File Transfer commands. This can be due to invalid paths specified.

  • From the environment file, locate the value of BFG_PROD.
    1. Go into OMVS and use the ls -ltr command. For example, if BFG_PROD is /mqm/V9R2M0/mqft, type the command:
      ls -ltr /mqm/V9R2M0/mqft/bin/fteBatch 
    2. Check this file exists, and that the batch job has read permission to the file.
    3. Resolve any problems.,

  • If the JCL still fails to process correctly:
    1. Create a file in USS, for example, myenv and use an editor to copy information from the environment file into this myenv file.
    2. Save this file.
    3. From the command line, use the command chmod +x myenv, to allow the file to be run.
    4. Issue the command . myenv. Note, that is (period blank filename).

      Running this command reports any errors in the myenv file.

    5. Correct any errors in both the myenv and environment files.

Parent topic: Common MFT problems

Last updated: 2020-10-04