Steps for converting an OS/VS COBOL program containing CICS® commands

PROGRAM START
	IF CCCA available
		BEGIN
			Run CCCA
			IF RC>=4
				Complete conversion
			ENDIF
		END
	ELSE
		BEGIN
			Run CICS translator
			IF OS/VS COBOL Rel 2.4 available
				Compile with OS/VS COBOL MIGR option
			ELSE IF VS COBOL II available
				Compile with VS COBOL II using the CMPR2 and FLAGMIG compiler options
			ELSE IF IBM COBOL available
				Compile with IBM COBOL using the CMPR2 and FLAGMIG compiler options
			ELSE 
				Use Migration Guide
			ENDIF
			Do manual conversion 
			Convert BLLs
		END	
	ENDIF
	COMPILE-LOOP: DO
		BEGIN
			IF Integrated CICS translator to be used
				Compile with integrated CICS translator using CICS compiler option
			ELSE
				BEGIN
					Run CICS translator using the COBOL3 translator option
					Compile with Enterprise COBOL
				END
			ENDIF
			IF Diagnostics=Yes
				BEGIN
					Solve diagnostics	
					CONTINUE COMPILE-LOOP
				END
			ENDIF	
			Test program
			IF Errors=Yes
				Fix errors
			ENDIF
		END
	WHILE Errors=Yes
PROGRAM END