CRSP

From ISOR
(Difference between revisions)
Jump to: navigation, search
(access)
(download the results onto your desktop / laptop)
(24 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==CRSP, COMPUSTAT, CCM ==
 
==CRSP, COMPUSTAT, CCM ==
=== access ===
+
=== access to your remote text terminal ===
  <ol>
+
==== require credentials ====
  <li> 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>
 
             host: crsp.vdc.univie.ac.at
 
             host: crsp.vdc.univie.ac.at
Line 14: Line 14:
 
         </li>   
 
         </li>   
 
       </ul>
 
       </ul>
  </li>
+
 
  <li> Establish a Virtual Private Network (VPN) to Uni if working from home or if you cannot establish an SSH connection ([https://zid.univie.ac.at/en/vpn/ see ZID/VPN]). You wouldn't have to use VPN if working from the institute's PC-labor #6.644.
+
==== VPN ====
  </li>
+
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]).
  <li> 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||frameless|200px|caption]]
+
==== SSH ====
  </li>
+
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.
  <li>
+
[[File:3_accept_key.png|left|frameless|200px|caption]]
      [[File:4_terminal_session.png||frameless|200px|caption]]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):
+
Also see [https://zid.univie.ac.at/online-speicherplatz/anleitungen/sftp/ ZID's explanation]
    <ol>
+
<br clear=all>
    <li> the midnight-commander (mc) provides an built-in editor mcedit (exit it with Alt+0)
+
 
        <pre>$ mc </pre>
+
==== usage of a terminal ==== 
        <pre>$ mcedit ts_samp7.rqt </pre>
+
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):  
    </li>
+
[[File:4_terminal_session.gif|left|]]
    <li> 
+
<br clear=all>
      e.g. use  "ts_print" to process a requirementfile "ts_samp7.rqt" and get the output "ts_samp7.out":
+
the midnight-commander (mc) provides a built-in editor mcedit (exit it with Alt+0)
 +
<pre>$ mc </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''''':
 
         <pre>$ ts_print ts_samp7.rqt</pre>
 
         <pre>$ ts_print ts_samp7.rqt</pre>
look into ts_samp7.out with:
+
<!--
        <pre>$ cat ts_samp7.out </pre>
+
[[File:7_ts_print.png|left|frameless|500px|caption]]
    </li>
+
<br clear=all>
    <li>
+
-->
    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>
+
use mc / mcedit to look into ts_samp7.out:
    </li> 
+
<pre>$ mcedit ts_samp7.out </pre>
    </ol>
+
[[File:8_ts_samp6_out.png||frameless|400px|caption]]
  </li>
+
<br clear=all>  
  <li> use an SFTP client like [https://cyberduck.io/download/ CyberDuck] to download the results of your terminal session onto your desktop for further processing
+
<br/>
  </li>
+
use e.g. this command to get the switches for the command '''''crsp_print''''':
  <li> Please read some manuals to gain experience with the ts_sampleX.rqt files in your home directory:
+
<pre>$ crsp_print /d1  /var/crsp/2019-07/crspdata/cmz201807</pre>
    [http://www.crsp.com/products/documentation/cupl-386-guide CRSP Utilities and Program Libraries (CUPL)]
+
 
    and maybe the [https://w3.loibl.com/uni/xf_understanding_the_data.pdf xf-understanding_the_data guide].
+
==== download the results onto your desktop / laptop ====
      </li>
+
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:
     
+
 
  </ol>
+
[[File:10_cyberduck_credentials.png|400px]]
 +
<br clear=all>
 +
 
 +
=== documentation===
 +
Please read some manuals to gain experience with the ts_sampleX.rqt files in your home directory
 +
<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].
 +
</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