How to edit and upload scripts to a Kawasaki robot?

What command did you use when trying to save a program?

This is actually pretty well documented in the Kawasaki - AS programming language reference

Syntax is

SAVE [FILENAME TO STORE TO]=[PROGRAM NAME1],[PROGRAM NAME2]

See example in screenshot below.