space
Previous Page | Next Page

MDDB Report Viewer 9.2

_OUTPUT_REACHTHRU_URL_FN_ Method

Outputs the RTURL Javascript function that builds the reach-through to detail URLs

Syntax

  CALL SEND(OBJID,'_OUTPUT_REACHTHRU_URL_FN_,service,nextpgm,dataset,bgtype,bg,url);     
    
Where... Is Type... And Contains...
service C the broker service that is being used.
nextpgm C the 4-level name of the program to run in order to display the detail data. The default is SASHELP.WEBEIS.DS2HTM.SCL.
dataset C the name of the data set that contains the detail data.
bgtype C the background type (IMAGE, COLOR, or blank).
bg C the background value.
url C the broker component of the URL.

Example

The following output is produced:

function rturl(str) {
  param=new Object;
  param._PROGRAM = "SASHELP.WEBEIS.VARLIST.SCL";
  param._SERVICE = "default";
  param._DEBUG = "2";
  param.MDDB = "SASHELP.PRDMDDB";
  param.METABASE = "SASHELP.MBEIS";
  param.D = "Geographic";
  param.AC = "Product%20Line";
  param.V10="0";
  param.VA10="0";
  param.A = "ACTUAL";
  param.S = "SUM";
  param.NEXTPGM = "SASHELP.WEBEIS.DS2HTM.SCL";
  param.DATASET = "SASHELP.PRDSALE";
  param.BGTYPE = "color";
  param.BG = "%23FFFFE7";
  href = "/cgi-bin/broker?";
  for (name in param) { href += name + "=" + param[name] + "&" }
  if (str) {href += str}
  return href;
}

Previous Page | Next Page | Top of Page