Hard to tell if there are issues (other than obvious typos like extra semi-colon. two spellings for JOBCODE, inserted space etc) without knowing what the intent was.
I am not that big a fan of using KEEP=/DROP=/RENAME= dataset options instead of using the KEEP/DROP/RENAME statements, although there are some things they are best for.
Looks like you want to keep the variable JCODE and rename it to JOBCODE. But then why is the target dataset named COMPANY instead of JOB (or JOBS).
Perhaps you meant to do something like this to create one dataset with one variable that lists all of the JOBCODE/JCODE values?
data jobs;
set dept1 (keep=jobcode)
dept2 (keep=jcode rename =(jcode=jobcode))
;
run;