MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

About LABEL Declaratives

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sat Dec 10, 2005 3:13 am    Post subject: About LABEL Declaratives Reply with quote

Code:

DECLARATIVES.
USER-HEADER-LABEL SECTION.
    USE AFTER STANDARD BEGINNING FILE LABEL
        PROCEDURE ON xxxx.
SUBMISSION-MOVE.
    MOVE USER-LABEL TO  xxxx.
END DECLARATIVES.

and now ,i met problem that i opened the file xxxx,but 'USER-HEADER-LABEL SECTION' did not executed,i don't know why.does not 'open' indicate the begnning of the label?I'V CONFUSE FOR DAYS,THANKS .
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Dec 10, 2005 10:17 am    Post subject: Reply with quote

issac1029,

Assuming that xxxx was file-name, you need to remove LABEL RECORDS ARE OMITTED clause in the FD section for the file xxxx.

Check this link for a detailed explanation of the Label Declaratives

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igy3lr10/8.1.15.3?SHELF=&DT=20020920180651&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sun Dec 11, 2005 8:48 am    Post subject: Reply with quote

I've SPECIFIED THE LABEL BUT NOT OMMITED,i 've see detailed explanation of label declarative for over 3 times
Back to top
View user's profile Send private message Send e-mail MSN Messenger
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sun Dec 11, 2005 9:44 pm    Post subject: Reply with quote

i found the reason for this happen,i specifed a qsam file instead of the orginal file(a tape!)
so i have a question what the relationship between the FD(LABEL RECORDS are xxxx) AND THE LABEL SPECIFIED FOR THE TAPE?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Mon Dec 12, 2005 4:50 am    Post subject: Reply with quote

this problem has been solved,it cause by the wrong label specifed,thanks Very Happy
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group