how can u give input files in the jcl.



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

how can u give input files in the jcl.

Postby mylavarapuvinay » Thu Jan 06, 2011 9:47 pm

Could you please any one help me.....
How can u give input files in the jcl.
mylavarapuvinay
 
Posts: 11
Joined: Thu Jan 06, 2011 9:40 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can u give input files in the jcl.

 

Re: how can u give input files in the jcl.

Postby Robert Sample » Thu Jan 06, 2011 9:56 pm

Please help US out here -- what do you mean by "input file"?

In general -- any file can be referenced in JCL by including a DD name with the appropriate parameters (minimum recommended parameters: DSN and DISP for cataloged data sets).
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

Re: how can u give input files in the jcl.

Postby steve-myers » Thu Jan 06, 2011 10:20 pm

As Mr. Sample indicated the initial question is unclear.

First, the term "file" has a different meaning in IBM mainframes than in other platforms. You should use the term "dataset" rather than "file," unless you really mean "file" as it is used with IBM mainframes, though the precise meaning of a dataset in IBM mainframes is slightly different than a "file" in other platforms.

Second, do you mean
  • Can I provide input data in the JCL that defines a job?, or
  • How do I specify input data in JCL?
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: how can u give input files in the jcl.

Postby enrico-sorichetti » Thu Jan 06, 2011 10:46 pm

dataset

the meaning depends on how old You are and how long You have been working in IT
on a very once upon a time dataset was synonym for modem
whence the acronym DSR ( DataSet READY )
and it was commonly used in telecommunication jargon
since I am old and worked in IT for a long time ...

one of my peeves is that the acronym USS has changed meaning from ...
Unformatted System Services
To ...
Unix steenkin sloppiness :D
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: how can u give input files in the jcl.

Postby dick scherrer » Fri Jan 07, 2011 3:22 am

Hello,

How can u give input files in the jcl.

If you post an explanation of what you are trying to accomplish, someone may have a suggestion as to how . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how can u give input files in the jcl.

Postby alexlloyd54 » Fri Jan 07, 2011 5:22 am

enrico-sorichetti wrote:
dataset

the meaning depends on how old You are and how long You have been working in IT
on a very once upon a time dataset was synonym for modem
whence the acronym DSR ( DataSet READY )
and it was commonly used in telecommunication jargon
since I am old and worked in IT for a long time ...

one of my peeves is that the acronym USS has changed meaning from ...
Unformatted System Services
To ...
Unix steenkin sloppiness :D



DSR is Data Set Ready (Note it's not the same as the mainframe's Dataset which means a file) ;)
DCE is Data Communication Equipment
DTE is Data Terminal Ready

the above are all related related to data communication area & modems terminology
If I told you, Mossad would have to kill you :)
User avatar
alexlloyd54
 
Posts: 19
Joined: Mon Apr 26, 2010 1:20 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how can u give input files in the jcl.

Postby dick scherrer » Fri Jan 07, 2011 6:29 am

Or maybe DTR for data terminal ready . . . :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how can u give input files in the jcl.

Postby NicC » Fri Jan 07, 2011 2:32 pm

Actually, I was told by IBM that a detaset is NOT the same as a file - a file is pure data whereas a dataset is data + control information eg RDWs for VB files, inter-block gaps, start of block markers etc.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: how can u give input files in the jcl.

Postby steve-myers » Sat Jan 08, 2011 9:09 am

NicC wrote:Actually, I was told by IBM that a detaset is NOT the same as a file - a file is pure data whereas a dataset is data + control information eg RDWs for VB files, inter-block gaps, start of block markers etc.
I've never seen that definition in print, but ... I think issues like inter-block gaps and start of block markers are present in other systems, but they are hidden by by the system, where us mainframe types are exposed to them. I regard a "file" as nothing more than a stream of bits, where a dataset has something more, though a RECFM F data set is represented as a stream of bytes, but divided into fixed length groups called "records."

This discussion brought a nasty problem with 2314s to my memory. They had something called an "address marker" in the gap between the end of a record and the count area for the next record. The hardware detected this "address marker." If it wasn't there - all too common - you got an I/O error and that track was pretty much done for, though you could usually format write over the track.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: how can u give input files in the jcl.

Postby steve-myers » Sat Jan 08, 2011 11:39 am

We've gone far afield from the original request from Thursday, though mylavarapuvinay never did clarify his request so we could actually answer him. Well, maybe later today!
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post