CRSP

From ISOR
(Difference between revisions)
Jump to: navigation, search
(VPN)
(download the results onto your desktop / laptop)
(18 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==CRSP, COMPUSTAT, CCM ==
 
==CRSP, COMPUSTAT, CCM ==
=== access ===
+
=== access to your remote text terminal ===
 
==== require credentials ====
 
==== require credentials ====
email the VDC sysadmin to provide credentials and prepare your remote terminal
+
email the VDC sysadmin to provide credentials and get your remote text terminal prepared.
 
       <ul>
 
       <ul>
 
         <li>
 
         <li>
Line 14: Line 14:
 
         </li>   
 
         </li>   
 
       </ul>
 
       </ul>
+
 
 
==== VPN ====
 
==== VPN ====
If working from home or elsewhere but from the institute's PC lab (room #6.644) you have to establish a Virtual Private Network (VPN) to Uni first ([https://zid.univie.ac.at/en/vpn/ see ZID/VPN]).
+
If working from home you have to establish a Virtual Private Network (VPN) to Uni first ([https://zid.univie.ac.at/en/vpn/ see ZID/VPN]).
  
 
==== SSH ====
 
==== SSH ====
 
If working from Windows, you might need to install an SSH-client ([https://www.putty.org/ like PUTTY]) to use Secure Shell (SSH) to connect to your terminal. Accept the server key.
 
If working from Windows, you might need to install an SSH-client ([https://www.putty.org/ like PUTTY]) to use Secure Shell (SSH) to connect to your terminal. Accept the server key.
 
[[File:3_accept_key.png|left|frameless|200px|caption]]
 
[[File:3_accept_key.png|left|frameless|200px|caption]]
 +
Also see [https://zid.univie.ac.at/online-speicherplatz/anleitungen/sftp/ ZID's explanation]
 
<br clear=all>
 
<br clear=all>
  
Line 30: Line 31:
 
<pre>$ mc </pre>
 
<pre>$ mc </pre>
 
<pre>$ mcedit ts_samp7.rqt </pre>
 
<pre>$ mcedit ts_samp7.rqt </pre>
e.g. use  "ts_print" to process a requirementfile "ts_samp7.rqt" and get the output "ts_samp7.out":
+
e.g. use  '''''ts_print''''' to process a requirementfile '''''ts_samp7.rqt''''' and get the output '''''ts_samp7.out''''':
 
         <pre>$ ts_print ts_samp7.rqt</pre>
 
         <pre>$ ts_print ts_samp7.rqt</pre>
 
<!--
 
<!--
Line 37: Line 38:
 
-->
 
-->
 
      
 
      
use mc/mcedit to look into ts_samp7.out with:
+
use mc / mcedit to look into ts_samp7.out:
        <pre>$ mcedit ts_samp7.out </pre>
+
<pre>$ mcedit ts_samp7.out </pre>
[[File:8_ts_samp6_out.png||frameless|400px|caption]
+
[[File:8_ts_samp6_out.png||frameless|400px|caption]]
use e.g. this command to get the switches for the command crsp_print:
+
<br clear=all>
 +
<br/>
 +
use e.g. this command to get the switches for the command '''''crsp_print''''':
 
<pre>$ crsp_print /d1  /var/crsp/2019-07/crspdata/cmz201807</pre>
 
<pre>$ crsp_print /d1  /var/crsp/2019-07/crspdata/cmz201807</pre>
use an SFTP client like [https://cyberduck.io/download/ CyberDuck] to download the results of your terminal session onto your desktop for further processing
+
 
[File:10_cyberduck_credentials.png||frameless|400px|caption]]
+
==== download the results onto your desktop / laptop ====
 +
use an SFTP client like [https://cyberduck.io/download/ CyberDuck] on a Mac or  [https://zid.univie.ac.at/online-speicherplatz/anleitungen/sftp/ WinScp] on Windows to download the results (e.g. ts_samp7.out) onto your desktop for further processing. Provide your SSH credentials:
 +
 
 +
[[File:10_cyberduck_credentials.png|400px]]
 +
<br clear=all>
  
 
=== documentation===
 
=== documentation===
 
Please read some manuals to gain experience with the ts_sampleX.rqt files in your home directory
 
Please read some manuals to gain experience with the ts_sampleX.rqt files in your home directory
[http://www.crsp.com/products/documentation/cupl-386-guide CRSP Utilities and Program Libraries (CUPL)]
+
<ul>
 +
<li>
 +
[http://www.crsp.org/products/documentation/cupl-386-guide CRSP Utilities and Program Libraries (CUPL)]
 +
</li>
 +
<li>
 +
[https://w3.loibl.com/uni/ccm_data_guide_0.pdf CCM Data Guide]
 +
</li>
 +
<li>
 
and maybe the [https://w3.loibl.com/uni/xf_understanding_the_data.pdf xf-understanding_the_data guide].
 
and maybe the [https://w3.loibl.com/uni/xf_understanding_the_data.pdf xf-understanding_the_data guide].
 +
</li>
 +
<li>
 +
collected [https://w3.loibl.com/wiki/index.php/CRSP#Usage thoughts] .
 +
</li>
 +
</ul>

Revision as of 14:40, 7 January 2020

Contents

1 CRSP, COMPUSTAT, CCM

1.1 access to your remote text terminal

1.1.1 require credentials

email the VDC sysadmin to provide credentials and get your remote text terminal prepared.

  • host: crsp.vdc.univie.ac.at
  • user: your username
  • password: your password

1.1.2 VPN

If working from home you have to establish a Virtual Private Network (VPN) to Uni first (see ZID/VPN).

1.1.3 SSH

If working from Windows, you might need to install an SSH-client (like PUTTY) to use Secure Shell (SSH) to connect to your terminal. Accept the server key.

caption

Also see ZID's explanation

1.1.4 usage of a terminal

Now you work remotely and use the remote host's command line (which is the bash shell, don't type the beginning "$", which is the prompt):

4 terminal session.gif


the midnight-commander (mc) provides a built-in editor mcedit (exit it with Alt+0)

$ mc 
$ mcedit ts_samp7.rqt 

e.g. use ts_print to process a requirementfile ts_samp7.rqt and get the output ts_samp7.out:

$ ts_print ts_samp7.rqt

use mc / mcedit to look into ts_samp7.out:

$ mcedit ts_samp7.out 

caption

use e.g. this command to get the switches for the command crsp_print:

$ crsp_print /d1  /var/crsp/2019-07/crspdata/cmz201807

1.1.5 download the results onto your desktop / laptop

use an SFTP client like CyberDuck on a Mac or WinScp on Windows to download the results (e.g. ts_samp7.out) onto your desktop for further processing. Provide your SSH credentials:

10 cyberduck credentials.png

1.2 documentation

Please read some manuals to gain experience with the ts_sampleX.rqt files in your home directory

Personal tools
Namespaces

Variants
Actions
Navigation
Tools