When no original text file exists, create the NIS map from the keyboard by typing input to makedbm, as shown below (end with Control-D).
ypmaster# cd /var/yp ypmaster# makedbm -homedomain-/mymapkey1 value1 key2 value2 key3 value3