Search found 7 matches

by prasad
Wed Feb 15, 2006 9:25 am
Forum: TSO, CLIST & REXX
Topic: What is Profile Name ??? on the EDIT Entry Panel of TSO
Replies: 4
Views: 11226

Tso profile initialn macro details

Hi Kumar,

Can you give me the following details, so that i can able to answer
your question.

initial macro
profile settings


If you dont give anything for profile , Is it working?


Thanks,
Prasad.
by prasad
Tue Feb 14, 2006 6:50 am
Forum: TSO, CLIST & REXX
Topic: What is Profile Name ??? on the EDIT Entry Panel of TSO
Replies: 4
Views: 11226

Tso profile

Hi Kumar,

Use PROFILE command inside the PS to now more about current active profile. This new profile setting must be different from the default
profile. Check initial macro value also.




Thanks,
Prasad.
by prasad
Thu Feb 09, 2006 8:52 am
Forum: COBOL
Topic: How to get the actual storage of a cobol varibale
Replies: 2
Views: 11976

Hi Srinivas, Actually there are many ways we can do this, one way is as follows. Use REVERSE function to reverse the string then use the INSPECT tallying to count the number of spaces at the begining of the reversed string. Now substring length = actual length of variable - number of spaces. MOVE 0 ...
by prasad
Thu Feb 09, 2006 8:33 am
Forum: COBOL
Topic: difference between COMP and COMP-3
Replies: 4
Views: 23966

Usage of COMP and COMP-3 values

Hi pkaushi, It depends how it's being used. My recommendation is, if you're doing arithmetic then use COMP-3. If you're not using Indexes and you're subscripting into an array then use COMP (as recommended by IBM). More details about COMP & COMP-3 are below. COMP ------- To produce the most efficien...
by prasad
Tue Feb 07, 2006 10:30 am
Forum: JCL
Topic: Control flow from one STEP to another
Replies: 9
Views: 54289

use RETURN-CODE in COBOL program

Hi pkaushi, Use RETURN-CODE in cobol program. At end of the program, if no record written to output file, move 7 to RETURN-CODE. You can move any number to RETURN-CODE. IF OUT-RECORD-CNT = 0 MOVE 7 TO RETURN-CODE END-IF Here RETURN-CODE is predefined cobol variable. whatever value program move into ...
by prasad
Tue Feb 07, 2006 8:15 am
Forum: DFSORT , ICETOOL & Utilities
Topic: SORT JCL to Split data using OUTFIL
Replies: 5
Views: 39677

Try use OUTFIL option

Hi pkaushi, We can split the files using OUTFIL option. Check below example. //*********************************************************** //SPLITFLS EXEC PGM=SORT //*********************************************************** //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SORTI...
by prasad
Mon Feb 06, 2006 12:27 am
Forum: COBOL
Topic: comp and comp3
Replies: 3
Views: 16830

Reading COMP-3 values in PS

Hi Padmapriya, You need to use HEX ON commmand to see COMP-3 values in PS When you use this command it will show two lines per each record. You need to read the comp-3 value from left, top to bottom (in two lines) and then move to second character read top to bottom etc... Example +87634 will be dis...