Making use of the RETURN-CODE keyword, which may be used for transferring information to the JCL from the COBOL programme, is one way in which this objective might be accomplished. It is something that we may utilize to determine the results of any process. In most circumstances, the activity of the programme will return the value 0, 4, 8, or 12 depending on whether or not it was successful. By using this keyword, which also guarantees that the information is transmitted from COBOL to JCL, we are able to make the necessary changes.