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

Facing a problem related to SYSEXEC while running a macro


IBM Mainframe Forums -> CLIST & REXX
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
Nandananilchintala

New User


Joined: 25 Mar 2009
Posts: 19
Location: Hyderabad

PostPosted: Mon Mar 30, 2009 11:03 am
Reply with quote

Hi,

I am facing the following problem while executing a Macro written by me.
Im trying to read the text at cursor position and then the trying to open a member from a PDS depending oin the contents i read at cursor position.

Below is the code and error im facing. Please help

ERROR:-

Code:
 Abnormal completion of the READ Data Management macro.                         
 IN16608 ,LOGONNL ,C068,D,SYSEXEC ,READ  ,WRNG.LEN.RECORD,0000019E00080D,BPAM. 
***


Code:-
Code:

"ISREDIT MACRO"                               
"ISREDIT (ROW,COL) = CURSOR"                 
"ISREDIT (DATA) = LINE" .ZCSR                 
MEMBER1 = SUBSTR(DATA,COL,8)                 
LEN1 = LENGTH(MEMBER1)                       
MEMBER2 = STRIP(MEMBER1)                     
LEN2 = LENGTH(MEMBER2)                       
VAR4 = SUBSTR(MEMBER2,4,1)                   
VAR7 = SUBSTR(MEMBER2,7,1)                   
IF LEN1 <> LEN2 THEN DO                       
       IF VAR7 = 'M' THEN MODUL = 'PLISQL'   
       ELSE MODUL = 'PROCLIB'                 
    END                                       
SAY MODUL                                     
IF MODUL = 'PLISQL' THEN                     
DO                                           
SAY MODUL                                     
DDN = 'RCBR033.SHIPPED.PLISQL('||MEMBER2||')'
ADDRESS ISPEXEC "BROWSE DATASET('"DDN"')"     
END                                           
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Mar 30, 2009 12:11 pm
Reply with quote

You already started a similar topic ,
You did not provide the info requested
if/when You will provide what has been asked You might get an answer

as already said the error has nothing to do with the rexx itself
there i something wrong with Your PDS

double posting will not get You better answers
topic is locked
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top