IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Rexx Coding Standard


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Tue Jul 06, 2010 11:05 pm
Reply with quote

Hi,
I'm trying to find a REXX coding standard document and a coding standard checklist,
Kindly request to share if any one have.
Back to top
View user's profile Send private message
valyk

Active User


Joined: 16 Apr 2008
Posts: 104
Location: South Carolina

PostPosted: Tue Jul 06, 2010 11:13 pm
Reply with quote

Rexx has loose coding standards, and I doubt anything like this exist.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jul 06, 2010 11:16 pm
Reply with quote

Quote:
I'm trying to find a REXX coding standard document


what kind of standards are You looking for ??

did You care to google with for example "rexx coding style"
if You had it would have taken you to ( first link reported )
www.rexxinfo.org/html/rexxinfo1.html
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jul 07, 2010 3:47 pm
Reply with quote

May be a time to get in contact with your site-support group to know about "coding-standards" in general and then eventually about REXX.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Jul 07, 2010 8:28 pm
Reply with quote

Make my day usharaniA,
tell us you are writing the site standards.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Jul 07, 2010 10:51 pm
Reply with quote

I am not sure if this is true anymore or not, but long ago I read that comment boxes were wasteful because of the way the rexx interpreter searched for the end of the comment.
For example:
Code:

/******************/
/* some comment   */
/******************/

Each time it found an asterisk, it checked to see if the next character was a slash to determine if that was the end of the comment.

The recommendation was to avoid that style of comment boxes. Instead, use dashes (or other character) and to use a single start and single end, such as:
Code:

/*------------------
|  some comment    |
------------------*/
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Jul 08, 2010 11:29 am
Reply with quote

if you follow the link posted by enrico you can get to
s293945580.websitehome.co.uk/Computers/RexxStyleGuide.html

;)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top