Search found 54 matches

by Neeraj N
Mon Sep 21, 2015 12:12 pm
Forum: Interview Questions.
Topic: MOVE alphanumeric to numeric and S0C7.
Replies: 7
Views: 4889

Re: MOVE alphanumeric to numeric and S0C7.

Thanks William.

What is this number referring to? I don't understand it:
William Collins wrote:Here is your number (S9(3)).

Code: Select all

ZNZNSN
by Neeraj N
Mon Sep 21, 2015 12:07 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: File declaration with UT-S.
Replies: 10
Views: 2983

Re: File declaration with UT-S.

As has been talked about, that's an old way of coding practice. One of them is known as "class indicator" and other is "Label". Class Indicator: The Class Indicator can be and have the following meanings: UR = Unit Record - card reader, card punch, printer UT = Utility - Tape or...
by Neeraj N
Thu Sep 10, 2015 1:47 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: File declaration with UT-S.
Replies: 10
Views: 2983

File declaration with UT-S.

Hi, I have about the file declaration in the FILE CONTROL REGION. The code I have looks this- SELECT MST-FILE ASSIGN TO UT-S-MST. SELECT SALES-FILE ASSIGN TO UT-S-SALES. SELECT FINAL-RCT ASSIGN TO UT-S-RCT. In the JCL we only use MST etc. as the DD name then in the bove code why are we using this UT...
by Neeraj N
Sun Sep 22, 2013 6:05 pm
Forum: Site Announcements and Rules.
Topic: Site Update 6: Change in theme.
Replies: 8
Views: 2906

Re: Change in theme.

You're welcome.
by Neeraj N
Sun Sep 22, 2013 6:04 pm
Forum: Interview Questions.
Topic: MOVE alphanumeric to numeric and S0C7.
Replies: 7
Views: 4889

Re: MOVE alphanumeric to numeric and S0C7.

Howerver, why don't you try it? With a USAGE DISPLAY numeric and a PACKED-DECIMAL/COMP-3. Then look at the Language Reference and the Programming Guide to see if you can clear it up yourself, and then come back here with any problems you still have. Thanks for the guidance William, however, unfortu...
by Neeraj N
Sun Sep 22, 2013 5:59 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: How can we calculate the total used space?
Replies: 4
Views: 11732

Re: How can we calculate the total used space?

Thank you Robert. I searched on the terms you suggested and it was a great learning.

Thanks,
Neeraj
by Neeraj N
Sun Sep 22, 2013 5:51 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Count to a Million!
Replies: 234
Views: 75047

Re: Count to a Million!

057.
by Neeraj N
Thu Sep 05, 2013 10:19 am
Forum: Interview Questions.
Topic: MOVE alphanumeric to numeric and S0C7.
Replies: 7
Views: 4889

MOVE alphanumeric to numeric and S0C7.

Hi, I've been asked that if can we move the alphanumeric value to numeric variable? For example, 01 WS-ALPHA PIC X(4) VALUE 'ABCD'. 01 WS-NUM PIC S9(3). If we move WS-ALPHA to WS-NUM - will that be allowed? My answer was yes we can move. Then I was asked that will it get S0C7? I said MOVE will not c...
by Neeraj N
Thu Sep 05, 2013 10:12 am
Forum: Tip Of the Day.
Topic: VSAM Tips.
Replies: 11
Views: 6686

Re: VSAM Tips.

Quite a good number of tips, Thanks for sharing them.

Regards,
Neeraj
by Neeraj N
Thu Sep 05, 2013 9:00 am
Forum: Site Announcements and Rules.
Topic: Site Update 6: Change in theme.
Replies: 8
Views: 2906

Re: Change in theme.

It looks nice.
by Neeraj N
Thu Sep 05, 2013 8:59 am
Forum: Thought of the Day, General Talk & Jokes.
Topic: Count to a Million!
Replies: 234
Views: 75047

Re: Count to a Million!

041.
by Neeraj N
Thu Sep 05, 2013 8:58 am
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: How can we calculate the total used space?
Replies: 4
Views: 11732

Re: How can we calculate the total used space?

Thanks Robert. Your post makes me understand that how less I know. I'm sorry of not telling it before - I need the information for sequential data-set. I read your post carefully and did not understand this line common are mod 3 with 3335 cylinders and mod 9 with 10,050 cylinders but others are poss...
by Neeraj N
Sat Aug 24, 2013 5:00 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: How can we calculate the total used space?
Replies: 4
Views: 11732

How can we calculate the total used space?

Hi,

How can we calculate the total used space, in bytes, of a data-set? The DASD Type is 3390. I've looked at some online references but I'm not sure if got all them correctly.

Thanks,
by Neeraj N
Sat Aug 24, 2013 4:46 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Count to a Million!
Replies: 234
Views: 75047

Re: Count to a Million!

032

Go to advanced search