Sequential file

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
Aparna Vipin
Member
Posts: 10
Joined: Thu Apr 09, 2009 3:11 pm

Sequential file

Post by Aparna Vipin » Fri Feb 19, 2010 11:15 am

Hi,

I have created a sequential file with LRECL=22,and i want to enter the values in that file.

But i was not able to enter anything from col 15 ,what ever i enter it is taking default value saying 'Some input data ignored".Bolded below are the defaults values coming when i am trying to enter.
----+----1----+----2--
**********************
000001hiiiiiii00000100
000002diiiiiii00000200
000003eiiiiiii00000300
000004eiiiiiii00000400
000005fiiiiiii00000500
000006giiiiiii00000600

The Dataset layout is

Management class . . : TEST
Storage class . . . : TEST
Volume serial . . . : NTE517
Device type . . . . : 3390
Data class . . . . . : **None*
Organization . . . : PS
Record format . . . : F
Record length . . . : 22
Block size . . . . : 22
1st extent cylinders: 1
Secondary cylinders : 100
Data set name type :

Please someone tell me why its so?

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Fri Feb 19, 2010 1:18 pm

i dont see any issue with dataset creation part. we may need play with PROFILE.

go to data set and type PROFILE command. see check all parameters.

while opening data set, there might be some macro set. remove any macro set to that ps.
Natarajan
Chennai

Aparna Vipin
Member
Posts: 10
Joined: Thu Apr 09, 2009 3:11 pm

Post by Aparna Vipin » Fri Feb 19, 2010 1:28 pm

Profile is as shown below...Can you please tell me whats wrong?

....RES (FIXED - 22)....RECOVERY OFF WARN....NUMBER DISPLAY STD.........
....CAPS OFF....HEX OFF....NULLS OFF....TABS OFF........................
....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS OFF.............
....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE OFF...............
....HILITE OFF CURSOR FIND..............................................

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

NUMBER ON STD, NUMBER DISPLAY STD.

Post by Natarajan » Fri Feb 19, 2010 5:03 pm

Problem is with NUMBER DISPLAY STD. (or) NUMBER ON STD

Use following command.

Code: Select all

NUM OFF 

With this command previous data wont get recovered. it will stop
replacing typed data with numbers after the command is issued.
Natarajan
Chennai

Aparna Vipin
Member
Posts: 10
Joined: Thu Apr 09, 2009 3:11 pm

Post by Aparna Vipin » Sat Feb 20, 2010 7:09 am

Thankyou so much........... :D it worked................. :D

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others