IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can levels 66 and 88 be used in FD entry of a file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mfhelp
Warnings : 1

New User


Joined: 29 Jun 2006
Posts: 33

PostPosted: Mon Sep 04, 2006 12:32 pm
Reply with quote

Can levels 66 and 88 be used in FD entry of a file?? Ofcourse 77 cannot be used!!
Back to top
View user's profile Send private message
Anand78

New User


Joined: 06 Mar 2006
Posts: 50
Location: PUNE

PostPosted: Mon Sep 04, 2006 1:34 pm
Reply with quote

88 can be used .
no idea about 66.
Back to top
View user's profile Send private message
shrinivas_d
Warnings : 1

New User


Joined: 04 Sep 2006
Posts: 2

PostPosted: Mon Sep 04, 2006 2:36 pm
Reply with quote

88 level could be used .

you can use 88 level in the file FD decleration as below

01 NCE-FEED.
05 DER-INFO.
10 MAINT-TYPE PIC X(02) VALUE SPACES.
88 W-OFER VALUE '01'.
88 NEW-VOR-REC VALUE '21'.
88 DELE-ITM-REC VALUE '33'.

while writing the file you can populate the other fields in normal way.
for 88 level you can do
set DELE-ITM-REC to true .

by this you will get '33' populated in the output file / layout

thanks
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Sep 10, 2006 11:32 pm
Reply with quote

A level 66 can be used in an FD, but not to rename an 01 level, but then a 66 can NEVER be used for that.
Back to top
View user's profile Send private message
sharda

New User


Joined: 13 Sep 2006
Posts: 7

PostPosted: Wed Sep 13, 2006 12:26 pm
Reply with quote

I m not getting
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Sep 14, 2006 3:31 am
Reply with quote

I'm not getting what you're not getting. Please explain further.
Back to top
View user's profile Send private message
sharda

New User


Joined: 13 Sep 2006
Posts: 7

PostPosted: Thu Sep 14, 2006 10:12 am
Reply with quote

Sorry for miss communication . I understand that we can not rename 01 level in FD entry, but can we rename Group Item ?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Sep 15, 2006 12:51 am
Reply with quote

Yes you can.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:

Back to Top