Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi data-set editor

Status
Not open for further replies.

BrembM3

Programmer
Oct 20, 2003
15
ZA
I'm modifying a Rexx program that processes a multi dataset editor - after logic to verify DS and parsing the DS, I get the DCB information of the DS before actually bringing up the dataset into an Edit session.
This is the information displayed:-
Return Code
SysDSNAME
SysUNIT
SysDSORG
SysRECFM
SysLRECL
SysBLKSIZE
SysKEYLEN
SysALLOC
SysUSED
SysPRIMARY
SysSECONDS
SysUNITS
SysEXTENTS
SysCREATE
SysREFDATE
SysEXDATE
SysPASSWORD
SysRACFA
SysUPDATED
SysTRKSCYL
SysBLKSTRK
SysADIRBLK
***
How can I get rid of this? It does disappear after hitting 'Enter'..
Thanks in advance...
 
If you look in your REXX there should be a 'SAY' for each of these attributes, either that or it is calling a REXX (or CList) function which is doing this 'SAY' somewhere else.

The LISTDSI function does not automatically display these variables, just sets values. I suggest you do a find on SysPASSWORD in your REXX and if that doesn't work, this information is being displayed from another REXX.
 
I could nor find any 'SAY's from the original Rexx, nor the others - I did not this statement:-
PARSE VALUE DSNINFO(THISDSN) WITH RC INFO
Is this doing it? - not sure why they did this originally, but I do need to get rid of the displays.
Thanx...
 
I could nor find any 'SAY's from the original Rexx, nor the others - I did find this statement:-
PARSE VALUE DSNINFO(THISDSN) WITH RC INFO
Is this doing it? - not sure why they did this originally, but I do need to get rid of the displays.
Thanx...
 
Hi BrembM3,

The DSNINFO does not send any display by itself, so you should have something which does it.

If you want us to have a look just poste the complete code.

Regards,

Tzu.
 
Here's the code:-
*/
SEL_EDBR: PROCEDURE
ARG FUNCTION THISDSN SELMEM

'VGET ZPREFIX'
IF LEFT(THISDSN,1) ¬= "'" THEN
THISDSN = "'"ZPREFIX"."THISDSN"'"
PARSE VALUE DSNINFO(THISDSN) WITH RC INFO
IF RC ¬= 0 THEN DO
PARSE VAR INFO . . ZERRSM
IF ZERRSM = 'LOCATE FOR DATASET FAILED' THEN
ZERRSM = 'LOCATE FAILED'
ZERRALRM = 'YES'
ZERRLM = 'ERROR OBTAINING DSNINFO FOR' THISDSN
'SETMSG MSG(EOPM040A)'
END

 

DSNINFO is an external subroutine. This may be doing SAYs or WRITEs.



Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Frank - thank you - that was it - one of the guys had the diplays in for a problem.
Thanks again...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top