| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
pradeep
Joined: 31 Jan 2004
Posts: 10
Location: Surandai,India
|
| Posted: Tue Feb 03, 2004 3:30 pm Post subject: Why we are using LABEL RECORDS ARE STANDARD in files |
|
|
:roll:
Why we are using LABEL RECORDS ARE STANDARD in files? |
|
| Back to top |
|
suresh_u
Joined: 31 Jan 2004
Posts: 8
|
| Posted: Wed Feb 04, 2004 4:09 pm Post subject: |
|
|
Hi pradeep,
In mainframe printers we have standard header and trailer label which give information about the record creation date , expiration date and so on. If we give LABLE RECORDS ARE STANDARD then the printers will print with headers and trailers label with details of records.
Thanks
Suresh |
|
| Back to top |
|
machswap
Joined: 19 Apr 2005
Posts: 14
|
| Posted: Fri Jun 24, 2005 5:04 pm Post subject: Re: Why we are using LABEL RECORDS ARE STANDARD in files |
|
|
Hi,
I think we use LABLE RECORDS ARE STANDARD when ur output is a standard disk file.
if ur output is going to be a printer then u use label records are ommited.
correct me if iam wrong. |
|
| Back to top |
|
mmwife
Joined: 30 May 2003
Posts: 1506
|
| Posted: Mon Jun 27, 2005 7:27 am Post subject: Re: Why we are using LABEL RECORDS ARE STANDARD in files |
|
|
Hi Pradeep,
What Machswap says is true except that the labels are used for both disk and tape datasets.
In the more recent COBOL releases this option is no longer required. If it is used it's treated as a comment.
Think of it as an appendix. :) |
|
| Back to top |
|
parikshit123
Joined: 01 Jul 2005
Posts: 279
Location: India
|
| Posted: Fri Jul 14, 2006 4:49 pm Post subject: |
|
|
Hi,
I think for printers there are no LABEL RECORDS.
So, we might like to use LABEL RECORDS ARE OMMITTED for output going to the printer.
Offcourse, with new cobol compilers in place, LABEL RECORDS clause is no longer required.
Thank,
Parikshit |
|
| Back to top |
|
mmwife
Joined: 30 May 2003
Posts: 1506
|
| Posted: Sat Jul 15, 2006 10:06 pm Post subject: |
|
|
I repeat, it's no longer required. Just keep it in mind if you have to use it on older hardware. As I recall, it specified std, non-std or no labels for tape, std for disk.
I know it wasn't required in cobol2, maybe before. |
|
| Back to top |
|
shankarravi1984
Joined: 15 Sep 2006
Posts: 9
Location: pune
|
| Posted: Thu Sep 21, 2006 8:04 pm Post subject: Re: Why we are using LABEL RECORDS ARE STANDARD in files |
|
|
hi,
by using the label records we can access the file in inut or output mode even though it is specified in any mode,header and trailer label specifies that the file being processed is correct one or not. |
|
| Back to top |
|
prashanth1
Joined: 27 Sep 2006
Posts: 32
Location: Mumbai
|
| Posted: Wed Oct 04, 2006 1:55 pm Post subject: |
|
|
| As of my knowledge, LABEL RECORDS ARE STANDARD can be used to verify that, is it accessing the correct file records are not. The length could be the 80bytes and it will be created while writing into the file and it will verify while reading the records from the file. |
|
| Back to top |
|
mukesh_mf
Joined: 24 Aug 2008
Posts: 1
Location: Gurgaon
|
| Posted: Mon Aug 25, 2008 8:49 pm Post subject: |
|
|
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/igy3lr10/5.2.6
If something is not clear, post it back here and your question about it. |
|
| Back to top |
|
dick scherrer
Joined: 23 Nov 2006
Posts: 8732
Location: 221 B Baker St
|
| Posted: Mon Aug 25, 2008 11:33 pm Post subject: |
|
|
Hello mukesh and welcome to the forums,
Please note that you replied to a topic that has been inactive for almost 2 years . . . |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|