cal does NOT read from stdin. The < operator sends the contents of the specified file to the standard input (stdin) of the specified program. Since cal does not read from stdin, this will not work. Check the cal manpage (man cal).
If you want to print the calendar for 2000, just do:
If you really must read this year from a file, do:
Which will read from myfile, and pass the contents as arguments to cal.