Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Why we are using LABEL RECORDS ARE STANDARD in files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
pradeep

New User


Joined: 31 Jan 2004
Posts: 10
Location: Surandai,India

PostPosted: Tue Feb 03, 2004 3:30 pm    Post subject: Why we are using LABEL RECORDS ARE STANDARD in files
Reply with quote

icon_rolleyes.gif
Why we are using LABEL RECORDS ARE STANDARD in files?
Back to top
View user's profile Send private message

suresh_u

New User


Joined: 31 Jan 2004
Posts: 8

PostPosted: Wed Feb 04, 2004 4:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
machswap

New User


Joined: 19 Apr 2005
Posts: 14

PostPosted: Fri Jun 24, 2005 5:04 pm    Post subject: Re: Why we are using LABEL RECORDS ARE STANDARD in files
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Jun 27, 2005 7:27 am    Post subject: Re: Why we are using LABEL RECORDS ARE STANDARD in files
Reply with quote

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. icon_smile.gif
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Fri Jul 14, 2006 4:49 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jul 15, 2006 10:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
shankarravi1984
Warnings : 1

New User


Joined: 15 Sep 2006
Posts: 9
Location: pune

PostPosted: Thu Sep 21, 2006 8:04 pm    Post subject: Re: Why we are using LABEL RECORDS ARE STANDARD in files
Reply with quote

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
View user's profile Send private message
prashanth1

New User


Joined: 27 Sep 2006
Posts: 47
Location: Hyderabad

PostPosted: Wed Oct 04, 2006 1:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mukesh_mf

New User


Joined: 24 Aug 2008
Posts: 1
Location: Gurgaon

PostPosted: Mon Aug 25, 2008 8:49 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 25, 2008 11:33 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 5 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us