Search found 25 matches
- Thu Feb 23, 2012 10:52 pm
- Forum: ASSEMBLER
- Topic: Doubt in Array datatype
- Replies: 1
- Views: 5717
Doubt in Array datatype
hi all, could you clarify my below doubt consider below variable declaration GROUP DS 0XL3 GROUP1 DS XL1 GRPVAL EQU X'AA' GROUP2 DS CL1 GROUP3 DS CL1 so is GROUP variable an array of GROUP1,GRPVAL AND GROUP2 or GROUP1,GROUP2,GROUP3 ? i believe it GROUP array consists of GROUP1,GROUP2(can have value ...
- Mon Feb 20, 2012 9:59 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Comparing Date with current date
- Replies: 4
- Views: 10131
Thanks Frank! below piece of code also worked for me //S1 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //IN DD * H2012-02-13 D RECORD 01 D RECORD 02 D RECORD 03 //TOOLIN DD * COUNT FROM(IN) RC4 EMPTY USING(CTL1) //CTL1CNTL DD * OPTION STOPAFT=1 INCLUDE COND=(2,10,CH,EQ,DATE1(-)) /* th...
- Sat Feb 11, 2012 8:14 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Comparing Date with current date
- Replies: 4
- Views: 10131
Comparing Date with current date
Hi All,
I have below requirement
I have a flat file it contains YYYY-MM-DD in the header record (1st record of the file and starts at col. 2). I have to compare this date filed with current date and set the RC=8 if they are not equal.
can it be done using SORT card ?
I have below requirement
I have a flat file it contains YYYY-MM-DD in the header record (1st record of the file and starts at col. 2). I have to compare this date filed with current date and set the RC=8 if they are not equal.
can it be done using SORT card ?
- Thu Feb 09, 2012 10:10 pm
- Forum: COBOL
- Topic: In Line Perform ques
- Replies: 5
- Views: 7908
- Wed Feb 08, 2012 10:17 pm
- Forum: JCL
- Topic: How to compare two ps files having millions of records ?
- Replies: 9
- Views: 18003
//TOOLIN DD* COPY FROM(INDD) to(OUTDD) ON(1,7,P,8,2,BI,10,1,CH) NODUPS /* it gave MAX CC=12 as both files are same.. OUTDD dsn is empty.. thnks for you suggestion too.. :) it was not COPY.. it is SELECT.. //TOOLIN DD* SELECT FROM(INDD) to(OUTDD) ON(1,7,P,8,2,BI,10,1,CH) NODUPS /* Frank, sorry for p...
- Wed Feb 08, 2012 10:13 pm
- Forum: ASSEMBLER
- Topic: how to solve S0C4
- Replies: 2
- Views: 7166
yea.. i wish i could post the SYSOUT message but i cannot post anything from my office.. i got s0c4 due to MVC instruction the case was outrec was 56 length and till 39 positions were filled by other MVC statements. so i needed to move inrec from column 40 to outrec so i used below statement MVC out...
- Wed Feb 08, 2012 10:08 pm
- Forum: ASSEMBLER
- Topic: Need Interview FAQ's for Assembler
- Replies: 8
- Views: 49572
yea.. totally agree and i didn't see the date when i was posting it.. if i'm not correct main aim first of this forum is sharing and learning. . so what i posted here was my real experience.. can you give a url or references where some posted some useful Assembler links and book names ? you dont eve...
- Wed Feb 08, 2012 12:05 am
- Forum: JCL INTERVIEW QUESTIONS
- Topic: How to run only 2 steps out of 100 steps???
- Replies: 28
- Views: 55773
Hi , Out of 100 steps if you want to run only 3 and 4 step ?? the best solution is use of COND paramater in step. //step3 exec pgm = xyz , Cond = (0,LE,Step2) --- --- //step4 exec pgm = abc , Cond = (0,lE,STEP2) Note : Cond parameter ;;if the condition is true it will bypass the step.and if the con...
- Tue Feb 07, 2012 11:54 pm
- Forum: ASSEMBLER
- Topic: Need Interview FAQ's for Assembler
- Replies: 8
- Views: 49572
Any basic books (links) to start up with coding Assembler.
i found below links very very useful..
http://www.billqualls.com/
http://www.edwardbosworth.com/
book:
Assembler Language Programming: The IBM System/360 by
George Struble
very useful book for beginners.
enjoy maadi..
i found below links very very useful..
http://www.billqualls.com/
http://www.edwardbosworth.com/
book:
Assembler Language Programming: The IBM System/360 by
George Struble
very useful book for beginners.
enjoy maadi..
- Tue Feb 07, 2012 11:48 pm
- Forum: ASSEMBLER
- Topic: Need Interview FAQ's for Assembler
- Replies: 8
- Views: 49572
adding a few.. i had been asked to answer below ques.. 1. how to move more than 256 chars to a filed ? 2. var1 dc cl5'abcde' var2 dc cl5'12345abcde' write a instruction so that comparison between var1 and var2 should be true 3. var1 dc cl5'abcde' var2 dc cl5'12345abcde' MVC var2,var2 what var2 will ...
- Tue Feb 07, 2012 10:59 pm
- Forum: ASSEMBLER
- Topic: how to solve S0C4
- Replies: 2
- Views: 7166
how to solve S0C4
hi All,
can anyone tell me how to solve s0c4?
i wrote two asm programs but in two programs i'm gettin s0c4 at the "GET INFILE INREC"
can anyone tell i need to take of ?
can anyone tell me how to solve s0c4?
i wrote two asm programs but in two programs i'm gettin s0c4 at the "GET INFILE INREC"
can anyone tell i need to take of ?
- Tue Feb 07, 2012 10:49 pm
- Forum: ABEND CODES / ERROR CODES
- Topic: SOC 7 abend - interview question
- Replies: 13
- Views: 55157
- Tue Feb 07, 2012 8:56 am
- Forum: ABEND CODES / ERROR CODES
- Topic: SOC 7 abend - interview question
- Replies: 13
- Views: 55157
- Tue Feb 07, 2012 8:51 am
- Forum: JCL INTERVIEW QUESTIONS
- Topic: GDG interview question
- Replies: 10
- Views: 23324
here i mean generation.. when you give (+1) it always creates generation.. i dont understand why you people were talkin about version?? e.g: //outdd dsn dd=test.gdgbase(+1), // disp=(,catlg,) // .. it always creates test.gdgbase.g0002v00 provided test.gdgbase0001v00 was the previous gdg.. so my ques...
- Tue Feb 07, 2012 8:46 am
- Forum: JCL
- Topic: How to compare two ps files having millions of records ?
- Replies: 9
- Views: 18003