Difference between SYSIN and SYSTSIN



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Difference between SYSIN and SYSTSIN

Postby nikesh_rai » Sun Sep 08, 2013 1:08 pm

Hi Guys,

What is the difference between SYSIN and SYSTSIN. I checked a post where it is described as

SYSTSIN is the standard input DD (i.e. Terminal Input) for either the TSO program (IJKEFT**) or the REXX interpreter (IRXJCL).

SYSIN is a standard input DD, usually used to supply run-time parameters to the associated program.


So, is it correct or is there anything else which is missing here... I was checking IBM manual where SYSTSIN was described as

The SYSTSIN DD statement is used to specify that the data to follow consists of executable commands and/or subcommands. For example, to indicate to the system that all data following this statement is to be used as input, until the system encounters an input delimiter, such as the characters /* or the DLM operand,


but we put commands in SYSIN as well..

Can anyone please clarify me..
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 192
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time

Re: Difference between SYSIN and SYSTSIN

 

Re: Difference between SYSIN and SYSTSIN

Postby steve-myers » Sun Sep 08, 2013 1:33 pm

nikesh_rai wrote:... but we put commands in SYSIN as well..

Can anyone please clarify me..
The purpose of the contents of any data set depends on the program. The IKJEFT01 program, for example is the TSO "Terminal Monitor Program." When it is run in batch, IKJEFT01 expects the data set specified by DD name SYSTSIN to contain input it understands, that is TSO commands as well as member names of Rexx execs or TSO CLISTs located in data sets specified by DD name SYSPROC or SYSEXEC.

Other programs have different requirements. Cobol compilers, for example, generally expect the data set specified by the SYSIN DD statement to contain the source of a Cobol program. Nothing else. Sort programs, on the other hand, expect the data set specified by the SYSIN DD statement to contain control instructions (often constructed as "commands" and sometimes called "commands") so it can sort data contained in other data sets. It all depends on the program. That's the best explanation I can do.
steve-myers
Global moderator
 
Posts: 1887
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 198 times

Re: Difference between SYSIN and SYSTSIN

Postby nikesh_rai » Mon Sep 09, 2013 1:17 pm

thanks Steve for clarification.. :)
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 192
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post