MIDI Messages
I think on most MIDI devices a Pitch Bend message has no effect on the percussion channel. If you do decide to use Pitch Bend messages on the percussion channel, be aware your MIDI file may only work as you intended on certain MIDI devices.
If you are willing to use a less exact simulation, you might perhaps try using the different pitched tom sounds on the percussion channel: pitch numbers 45 (A2) Low Tom, 47 (B2) Low Mid Tom, 48 (C3) High Mid Tom, and 50 (D3) High Tom.
If you have another channel available, you might try using one of the General MIDI pitched percussion instrument sounds on a non-percussion channel, such as Program Change 117 Taiko Drum, 118 Melodic Tom, or 119 Synth Drum.
On the other hand, if you are okay with your MIDI file only working correctly on Roland Sound Canvas (or GS?) devices, you might try sending an NRPN message to
change the pitch of a percussion channel note in semitone steps.
CAL or SAL Scripting
If you want to learn about all the available Cakewalk Application Language (CAL) commands, take a look at the PDF file "The Cakewalk Application Language Programming Guide for SONAR" (Version 2.2. February, 24, 2010). You can download it from the link in the following post in the Cakewalk Discuss forum:
Re: CAL manual or guide in PDF.
By the way, Sekaiju has a paid add-on language called
Sekaiju Application Language (SAL), which is inspired by CAL, but is not exactly the same. It costs 500 yen (roughly 5 dollars), and it's free to try for 30 days. However, the sales page is currently closed and I don't know if it will open again in the future.
Converting to a text format
Sekaiju can save as and open the text-based
MIDICSV file format. When I want to insert repetitive messages in to a MIDI file, I often use Sekaiju's MIDICSV export and import ability, ad-hoc spreadsheet work in a spreadsheet program (LibreOffice Calc), and Notepad++'s advanced find and replace commands to clean up certain things so the import works correctly. If you are familiar with using spreadsheets to solve similar kinds of data issues, you may find this style of workflow useful.