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

Option for tracking code during compiling


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Fri Jun 11, 2010 4:32 pm
Reply with quote

Quote:
we just need to Put REXXname after opening the member and doing NUMOFF


general consideration on the code/jcl snippets posted
the samples posted are just that... samples that supposedly work in the environment in which they were developed
( most often quick and dirty, no error checking, untold assumptions )

see the NUMBER OFF/ON issue

it is the responsibility of the <user> of the sample to understand properly the code posted
and verify/understand the untold assumptions
Back to top
View user's profile Send private message
karz

New User


Joined: 04 Feb 2010
Posts: 39
Location: Mumbai

PostPosted: Sat Jun 12, 2010 11:28 am
Reply with quote

Some old modules have the para names starting from 9 and 10th position also. This rexx doesnot add the display for such modules... What modification do we need to do to the rexx for such a scenario?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sat Jun 12, 2010 11:39 am
Reply with quote

Hello,

Modify the code to accomodate all of the possible conditions. . .
Back to top
View user's profile Send private message
karz

New User


Joined: 04 Feb 2010
Posts: 39
Location: Mumbai

PostPosted: Sat Jun 12, 2010 12:01 pm
Reply with quote

How to add full stop after the display statement...all the display without with '.'
Back to top
View user's profile Send private message
karz

New User


Joined: 04 Feb 2010
Posts: 39
Location: Mumbai

PostPosted: Sat Jun 12, 2010 6:04 pm
Reply with quote

Folks, the repl to the question i asked is by this syntax

"LINE_AFTER .ZCSR = ' DISPLAY '"LINE3"'.'"

If you see the "." after the LINE3, this is used because after running the utility i got compilation errors, which said that

A period was required before procedure-name "AAAA-PROCEDURE NAME".

I got similar error for all the Para names. thats why i modified the above code...hope you find it useful
Back to top
View user's profile Send private message
karz

New User


Joined: 04 Feb 2010
Posts: 39
Location: Mumbai

PostPosted: Mon Jun 14, 2010 1:06 pm
Reply with quote

The REMDISP Rexx is not removing displays...can anyone suggest what can be teh reason...
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Jun 15, 2010 7:32 am
Reply with quote

Hi Karz,

If you moidify each REXX stmt that issues a COBOL DISPLAY so that it DISPLAYs:
DEBUG~ XXX-PROCEDURE-NAME in place of XXX-PROCEDURE-NAME

You can then use ISPF cmds to get rid of the procedure names displayed in the COBOL code, e.g.

x all;f all debug~;del all nx

It might be wise to check before you delete. icon_wink.gif
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 -> COBOL Programming Goto page Previous  1, 2, 3

 


Similar Topics
Topic Forum Replies
No new posts purge jobs with return code 0 and ret... JCL & VSAM 4
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top