To get the number of source in a SSDS, from ICL,
Use the ECHO parameter from the UNIX shell,ICL> NSRC = 0 ICL> SSGET myssds NSRC (NSRC)
To extract information per source use the ISRC parameter, eg. to get the RA for the 13th source in a results file,csh> set nsrc = `ssget myssds nsrc echo`
You can extract field attributes by appending the attribute name to the field name, eg.ICL> RA = 0.0 ICL> SSGET myssds RA (RA) ISRC=13
Here is a procedure to print the RA and DEC of each source in source search results file,csh> ssget myssds ra_units degrees
#!/bin/csh set nsrc = `ssget $1 nsrc` set isrc = 1 loop: set ra = `ssget $1 ra isrc=$isrc` set dec = `ssget $1 dec isrc=$isrc` echo $isrc $ra $dec @ isrc++ if ($isrc = $nsrc ) goto loop