Search found 18 matches

by Attack1988
Mon Sep 29, 2014 2:33 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Sort help
Replies: 4
Views: 5133

@Simo Are u sure of this. You have given Date1 and Time1 in 90 .. It dint abend ? I think yr variable (after position 13 and before '.G' have length 10 (5 for NO1113 and 5 for spaces ) so u have to use extra outfil outrec where u have to squeeze it to appropraite length ,reformat it . I cant give it...
by Attack1988
Thu Sep 18, 2014 10:30 am
Forum: JCL
Topic: Using SORT need to add column values
Replies: 6
Views: 11584

Your input file should be in the below format for that above sort card to work . Spaces for Colateral ? != above value Try changing the sort card to replace spaces by above value . If some one could suggest ,help him . Acct Colateral CUSIP Amount 12345678 34567854 09876556A 1000.00 34567854 89567456...
by Attack1988
Mon Apr 21, 2014 4:02 pm
Forum: COBOL
Topic: COBOL - Date format to Binary ASCCII
Replies: 16
Views: 21851

William Collins,

ok ok i understand what you are trying to say ..


Will do this later ..

then will talk about it .. not now ..
by Attack1988
Mon Apr 21, 2014 2:09 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Reformat DATE
Replies: 7
Views: 8439

William Collins

Yea sorry, now only learnt how to use code tags in text .. will insert codes inside code tags .
by Attack1988
Mon Apr 21, 2014 1:57 pm
Forum: COBOL
Topic: COBOL - Date format to Binary ASCCII
Replies: 16
Views: 21851

William Collins, so you are saying comp-3 is bcd format only if its variable is

9 type and not X type ?
by Attack1988
Mon Apr 21, 2014 1:52 pm
Forum: COBOL
Topic: help me in creating EXCEL document as OUTPUT FROM COBOL PROG
Replies: 18
Views: 30493

NicC, i am just new .. to mainframe and to forums .

No only learnt how to use code tags

.
by Attack1988
Mon Apr 21, 2014 1:44 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Reformat DATE
Replies: 7
Views: 8439

William Collins,

sort fields=copy

outrec fields=(5,2,C'-',1,4,80:X)


perhaps you should have correted that .

sorry was working on Mainframe
by Attack1988
Mon Apr 21, 2014 10:18 am
Forum: COBOL
Topic: help me in creating EXCEL document as OUTPUT FROM COBOL PROG
Replies: 18
Views: 30493

NicC,

IF U WANT TO INSERT CHARACTERS .. delim IS THERE .. DUNNO THE SYNTAX .. OK

SO TRY USING MID
U CAN ALSO ALIGN SHIFT, LEFT AND CENTRE

OUTREC FIELDS=(1,80,SQZ=(SHIFT=LEFT,MID=C','))
by Attack1988
Mon Apr 21, 2014 10:11 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Reformat DATE
Replies: 7
Views: 8439

Hey for u answer is easy .. U CAN TAKE INPUT FROM ANY OF THE FILES // OK

SORT FIELDS =COPY

OUTREC= (5,2,C'-',1,4,80:X)


THATS IT
by Attack1988
Mon Apr 21, 2014 9:39 am
Forum: COBOL
Topic: COBOL - Date format to Binary ASCCII
Replies: 16
Views: 21851

DikDude , Hi , ok accept that .. But information i collect .. i will make sure its right .. Then only share dont worry ^_^ .. I m kinda new to mainframe .. only three months studied .. but yea i like to solve other problems .. ^^ For my question .. Yea this is the answer .. .. Usage is DISPLAY for ...
by Attack1988
Fri Apr 18, 2014 3:17 pm
Forum: COBOL
Topic: COBOL - Date format to Binary ASCCII
Replies: 16
Views: 21851

I dont think so .. it taught me the basic good

U call it poor ? in the sense .. explain somethin wrong in that ^^ Keeping things simple doesnt mean its wrong ..
by Attack1988
Fri Apr 18, 2014 11:35 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Reformat DATE
Replies: 7
Views: 8439

simo78 , Wait we will deal with .. that .. First lemme see what are the things i have for Date reformat .. If my input is in Gregarian format like GDG creation date say 2014.222 2013.111 I have a way to convert into nomal DATE ;) .. Check this .. USE this in SORT .. ok OPTION EQUALS INREC FIELDS=(1...
by Attack1988
Fri Apr 18, 2014 11:20 am
Forum: COBOL
Topic: COBOL - Date format to Binary ASCCII
Replies: 16
Views: 21851

William Collins , YEA got a idea from u and from various sites i browsed ..... comp-binary-computational ,comp-4 comp-5 are in binary comp-3 in bcd format , I dunno about comp-1 comp-2 when we use USAGE IS DISPLAY It is stored in EBCIDIC in Mainframe .. can be viewed as ASCII in Windows .. I got mo...
by Attack1988
Thu Apr 17, 2014 9:12 am
Forum: COBOL
Topic: help me in creating EXCEL document as OUTPUT FROM COBOL PROG
Replies: 18
Views: 30493

Creating a File in CSV using cobol ..will that not make program litttle bit complex ? I used to creat normal file .. and using JCL Squeeze option .. I generate CSV .. its kind a easy for me .. and keeps my cobol easy to read for everyone.. and also problem will happen .. say If I have variable like ...
by Attack1988
Thu Apr 17, 2014 9:07 am
Forum: COBOL
Topic: help me in creating EXCEL document as OUTPUT FROM COBOL PROG
Replies: 18
Views: 30493

NicC,

Hi
I use command prompt to transfer files .. between mainframe and windows .. i think we have to login to mainfrme using ftp
changer usr to our id .. then give mget 'filename' u havent heard about this method .. ?
It can be used for multiple file transfer